public function CacheWarmerTest::testWriteCacheFileCreatesTheFile

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerTest.php, line 30

Class

CacheWarmerTest

Namespace

Symfony\Component\HttpKernel\Tests\CacheWarmer

Code

public function testWriteCacheFileCreatesTheFile() {
  $warmer = new TestCacheWarmer(self::$cacheFile);
  $warmer
    ->warmUp(dirname(self::$cacheFile));
  $this
    ->assertTrue(file_exists(self::$cacheFile));
}