Symfony\Component\Asset\Tests\PathPackageTest::testGetUrl PHP Method

testGetUrl() public method

public testGetUrl ( $basePath, $format, $path, $expected )
    public function testGetUrl($basePath, $format, $path, $expected)
    {
        $package = new PathPackage($basePath, new StaticVersionStrategy('v1', $format));
        $this->assertEquals($expected, $package->getUrl($path));
    }