You are here

public function KernelTest::testClassCacheIsLoaded in Zircon Profile 8

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

File

vendor/symfony/http-kernel/Tests/KernelTest.php, line 89

Class

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testClassCacheIsLoaded() {
  $kernel = $this
    ->getKernel(array(
    'initializeBundles',
    'initializeContainer',
    'doLoadClassCache',
  ));
  $kernel
    ->loadClassCache('name', '.extension');
  $kernel
    ->expects($this
    ->once())
    ->method('doLoadClassCache')
    ->with('name', '.extension');
  $kernel
    ->boot();
}