public function testHandleWhenTheControllerIsAnObjectWithInvoke() {
$dispatcher = new EventDispatcher();
$kernel = new HttpKernel($dispatcher, $this
->getResolver(new Controller()));
$this
->assertResponseEquals(new Response('foo'), $kernel
->handle(new Request()));
}