Пример #1
0
 /**
  * @param \HHPnet\Core\Domain\Videos\Video $video
  */
 public function let(Video $video)
 {
     $video->getId()->willReturn(1);
     $video->getVideoServiceId()->willReturn('video_service_id');
     $video->getVideoService()->willReturn('video_service');
     $video->getTitle()->willReturn('title');
     $video->getDescription()->willReturn('description');
     $this->beConstructedWith($video);
 }
Пример #2
0
 /**
  * @return string
  */
 public function title()
 {
     return $this->video->getTitle();
 }