public function AssetCacheTest::testGetContent

File

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

Class

AssetCacheTest

Namespace

Assetic\Test\Asset

Code

public function testGetContent() {
  $this->inner
    ->expects($this
    ->once())
    ->method('getContent')
    ->will($this
    ->returnValue('asdf'));
  $this
    ->assertEquals('asdf', $this->asset
    ->getContent(), '->getContent() returns the inner asset content');
}