public its_getTopicsAction_should_throw_NotFoundHttpException_when_no_result ( $request, $topicRepository ) |
public function its_getTopicsAction_should_throw_NotFoundHttpException_when_no_result($request, $topicRepository)
{
$topicRepository->getTopics(null)->willReturn(null);
$this->shouldThrow('Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException')->during('getTopicsAction', array($request));
}