public function AssetCacheTest::testGetSourcePath

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Asset/AssetCacheTest.php, line 158

Class

AssetCacheTest

Namespace

Assetic\Test\Asset

Code

public function testGetSourcePath() {
  $this->inner
    ->expects($this
    ->once())
    ->method('getSourcePath')
    ->will($this
    ->returnValue('asdf'));
  $this
    ->assertEquals('asdf', $this->asset
    ->getSourcePath(), '->getSourcePath() returns the inner asset source path');
}