/**
  * factory method to create default VideoPreviewImageExtractor
  * @return VideoPreviewImageExtractor
  */
 public static function create()
 {
     $vimeoExtractor = VimeoExtractor::create();
     $youtubeExtractor = YoutubeExtractor::create();
     $dailymotionExtractor = DailymotionExtractor::create();
     return new self([$vimeoExtractor, $youtubeExtractor, $dailymotionExtractor], $filter = []);
 }
 public function testCreate()
 {
     $extractor = VimeoExtractor::create();
     $this->assertInstanceOf('Ivoba\\VideoPreviewImageExtractor\\Extractor\\VimeoExtractor', $extractor);
 }