/**
  * @param Media $media The media entity
  * @param string $basepath The base path
  *
  * @return string
  */
 public function getImageUrl(Media $media, $basepath)
 {
     $helper = new RemoteVideoHelper($media);
     return $helper->getThumbnailUrl();
 }
 /**
  * @covers Kunstmaan\MediaBundle\Helper\RemoteVideo\RemoteVideoHelper::getMedia
  */
 public function testGetMedia()
 {
     $this->assertEquals(RemoteVideoHandler::CONTENT_TYPE, $this->object->getMedia()->getContentType());
 }