You are here

public function KernelTest::testBootInitializesBundlesAndContainer in Zircon Profile 8.0

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

File

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

Class

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testBootInitializesBundlesAndContainer() {
  $kernel = $this
    ->getKernel(array(
    'initializeBundles',
    'initializeContainer',
  ));
  $kernel
    ->expects($this
    ->once())
    ->method('initializeBundles');
  $kernel
    ->expects($this
    ->once())
    ->method('initializeContainer');
  $kernel
    ->boot();
}