public function testSerialize() { $env = 'test_env'; $debug = true; $kernel = new KernelForTest($env, $debug); $expected = serialize(array( $env, $debug, )); $this ->assertEquals($expected, $kernel ->serialize()); }