You are here

public function CacheWarmerTest::testWriteCacheFileCreatesTheFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerTest.php \Symfony\Component\HttpKernel\Tests\CacheWarmer\CacheWarmerTest::testWriteCacheFileCreatesTheFile()

File

vendor/symfony/http-kernel/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));
}