public function FileResourceTest::testIsFreshOnInvalidPath

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Factory/Resource/FileResourceTest.php, line 31

Class

FileResourceTest

Namespace

Assetic\Test\Factory\Resource

Code

public function testIsFreshOnInvalidPath() {
  $resource = new FileResource(__FILE__ . 'foo');
  $this
    ->assertFalse($resource
    ->isFresh(time()), '->isFresh() returns false if the file does not exist');
}