public function KernelTest::testSerialize 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::testSerialize()
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 379
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testSerialize() {
$env = 'test_env';
$debug = true;
$kernel = new KernelForTest($env, $debug);
$expected = serialize(array(
$env,
$debug,
));
$this
->assertEquals($expected, $kernel
->serialize());
}