You are here

public function KernelTest::testBootSetsTheBootedFlagToTrue 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::testBootSetsTheBootedFlagToTrue()

File

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

Class

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testBootSetsTheBootedFlagToTrue() {

  // use test kernel to access isBooted()
  $kernel = $this
    ->getKernelForTest(array(
    'initializeBundles',
    'initializeContainer',
  ));
  $kernel
    ->boot();
  $this
    ->assertTrue($kernel
    ->isBooted());
}