protected function setUp() { $this->dispatcher = new EventDispatcher(); $this->kernel = $this->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface'); }