public function assertDispatchIsForwarded()
{
/* @var $dispatcher \Phalcon\Mvc\Dispatcher */
$dispatcher = $this->di->getShared('dispatcher');
$actual = $dispatcher->wasForwarded();
if (!$actual) {
throw new \PHPUnit_Framework_ExpectationFailedException('Failed asserting dispatch was forwarded');
}
$this->assertTrue($actual);
}