public function dispatchCatchesStopExceptionOfActionRequestsAndRollsBackToTheParentRequest()
{
$this->mockActionRequest->expects($this->atLeastOnce())->method('isDispatched')->will($this->returnValue(false));
$this->mockParentRequest->expects($this->atLeastOnce())->method('isDispatched')->will($this->returnValue(true));
$this->mockController->expects($this->atLeastOnce())->method('processRequest')->will($this->throwException(new StopActionException()));
$this->dispatcher->dispatch($this->mockActionRequest, $this->mockHttpResponse);
}