protected function onKernelView($method, $event)
{
$this->getVisitorDispatcherMock()->expects($this->once())->method('dispatch')->with($this->getRequestMock(), $this->eventValue)->will($this->returnValue($this->response));
$event->expects($this->once())->method('setResponse')->with($this->response);
$this->getEventListener()->{$method}($event);
}