public function its_getSlideshowItemsAction_should_throw_NotFoundHttpException_when_no_slideshow($request, $packageRepository)
{
$packageRepository->findOneBy(array('id' => 1))->willReturn(null);
$this->shouldThrow('Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException')->during('getSlideshowItemsAction', array($request, 1));
}