3 class ResourceLoaderFilePathTest
extends PHPUnit\Framework\TestCase
{
5 * @covers ResourceLoaderFilePath::__construct
7 public function testConstructor() {
8 $resourceLoaderFilePath = new ResourceLoaderFilePath(
9 'dummy/path', 'localBasePath', 'remoteBasePath'
12 $this->assertInstanceOf( ResourceLoaderFilePath
::class, $resourceLoaderFilePath );
16 * @covers ResourceLoaderFilePath::getLocalPath
18 public function testGetLocalPath() {
19 $resourceLoaderFilePath = new ResourceLoaderFilePath(
20 'dummy/path', 'localBasePath', 'remoteBasePath'
24 'localBasePath/dummy/path', $resourceLoaderFilePath->getLocalPath()
29 * @covers ResourceLoaderFilePath::getRemotePath
31 public function testGetRemotePath() {
32 $resourceLoaderFilePath = new ResourceLoaderFilePath(
33 'dummy/path', 'localBasePath', 'remoteBasePath'
37 'remoteBasePath/dummy/path', $resourceLoaderFilePath->getRemotePath()
42 * @covers ResourceLoaderFilePath::getPath
44 public function testGetPath() {
45 $resourceLoaderFilePath = new ResourceLoaderFilePath(
46 'dummy/path', 'localBasePath', 'remoteBasePath'
50 'dummy/path', $resourceLoaderFilePath->getPath()