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