generate() public method

public generate ( $file, $time, $destination )
 public function testGenerate()
 {
     $timecode = TimeCode::fromString('00:00:00:01');
     $this->ffmpeg->open('1.mp4')->willReturn($this->video->reveal())->shouldBeCalled();
     $this->video->frame($timecode)->willReturn($this->frame->reveal())->shouldBeCalled();
     $this->frame->save('1.jpg')->shouldBeCalled();
     $this->videoThumbnailService->generate('1.mp4', '00:00:00:01', '1.jpg');
 }