public function HttpAssetTest::testGetLastModified

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Asset/HttpAssetTest.php, line 20

Class

HttpAssetTest

Namespace

Assetic\Test\Asset

Code

public function testGetLastModified() {
  if (!extension_loaded('openssl')) {
    $this
      ->markTestSkipped('The OpenSSL extension is not loaded.');
  }
  $asset = new HttpAsset(self::JQUERY);
  $this
    ->assertInternalType('integer', $asset
    ->getLastModified(), '->getLastModified() returns an integer');
}