public function KernelTest::testConstructor in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/KernelTest.php \Symfony\Component\HttpKernel\Tests\KernelTest::testConstructor()
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 27
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testConstructor() {
$env = 'test_env';
$debug = true;
$kernel = new KernelForTest($env, $debug);
$this
->assertEquals($env, $kernel
->getEnvironment());
$this
->assertEquals($debug, $kernel
->isDebug());
$this
->assertFalse($kernel
->isBooted());
$this
->assertLessThanOrEqual(microtime(true), $kernel
->getStartTime());
$this
->assertNull($kernel
->getContainer());
}