$this->
assertSame('/assets-prefix/foo/bar',
$resolver->
resolvePublicPath('/foo/bar'
));
$this->
assertSame('/assets-prefix/foo/bar',
$resolver->
resolvePublicPath('foo/bar'
));
} public function testGetPublicFilesystemPath() { $resolver =
new PublicAssetsPathResolver( '/path/to/projectRootDir/',
'/assets-prefix',
'publicDirName',
);
$this->
assertSame('/path/to/projectRootDir/publicDirName/assets-prefix',
$resolver->
getPublicFilesystemPath());
$resolver =
new PublicAssetsPathResolver( '/path/to/projectRootDir',
'/assets-prefix/',
'publicDirName',
);
$this->
assertSame('/path/to/projectRootDir/publicDirName/assets-prefix',
$resolver->
getPublicFilesystemPath());
}}