public function ConfigCacheTest::testTimestamp

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Cache/ConfigCacheTest.php, line 40

Class

ConfigCacheTest

Namespace

Assetic\Test\Cache

Code

public function testTimestamp() {
  $this->cache
    ->set('bar', array(
    4,
    5,
    6,
  ));
  $this
    ->assertInternalType('integer', $time = $this->cache
    ->getTimestamp('bar'), '->getTimestamp() returns an integer');
  $this
    ->assertNotEmpty($time, '->getTimestamp() returns a non-empty number');
}