public function AssetCacheTest::testGetLastModified

File

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

Class

AssetCacheTest

Namespace

Assetic\Test\Asset

Code

public function testGetLastModified() {
  $this->inner
    ->expects($this
    ->once())
    ->method('getLastModified')
    ->will($this
    ->returnValue(123));
  $this
    ->assertEquals(123, $this->asset
    ->getLastModified(), '->getLastModified() returns the inner asset last modified');
}