private function createAssetMapper(): AssetMapper
{ $dirs =
['dir1' => '', 'dir2' => '', 'dir3' => ''
];
$repository =
new AssetMapperRepository($dirs, __DIR__.'/fixtures'
);
$pathResolver =
$this->
createMock(PublicAssetsPathResolverInterface::
class);
$pathResolver->
expects($this->
any()) ->
method('getPublicFilesystemPath'
) ->
willReturn(__DIR__.'/fixtures/test_public/final-assets'
);
$this->mappedAssetFactory =
$this->
createMock(MappedAssetFactoryInterface::
class);
return new AssetMapper( $repository,
$this->mappedAssetFactory,
$pathResolver,
);
}}