public function testHandleWhenTheControllerIsAFunction() {
$dispatcher = new EventDispatcher();
$kernel = new HttpKernel($dispatcher, $this
->getResolver('Symfony\\Component\\HttpKernel\\Tests\\controller_func'));
$this
->assertResponseEquals(new Response('foo'), $kernel
->handle(new Request()));
}