public function testConvertTo()
 {
     /** @var  $product \PHPUnit_Framework_MockObject_MockObject|\Magento\Catalog\Model\Product */
     $product = $this->getMock('\\Magento\\Catalog\\Model\\Product', [], [], '', false);
     $rowData = ['value_id' => '4', 'file' => '/i/n/index111111.jpg', 'media_type' => ExternalVideoEntryConverter::MEDIA_TYPE_CODE, 'entity_id' => '1', 'label' => '', 'position' => '3', 'disabled' => '0', 'label_default' => null, 'position_default' => '3', 'disabled_default' => '0', 'video_provider' => null, 'video_url' => 'https://www.youtube.com/watch?v=abcdefghij', 'video_title' => '111', 'video_description' => null, 'video_metadata' => null];
     $productImages = ['image' => '/s/a/sample_3.jpg', 'small_image' => '/s/a/sample-1_1.jpg', 'thumbnail' => '/s/a/sample-1_1.jpg', 'swatch_image' => '/s/a/sample_3.jpg'];
     $product->expects($this->once())->method('getMediaAttributeValues')->willReturn($productImages);
     $this->mediaGalleryEntryMock->expects($this->once())->method('setExtensionAttributes')->will($this->returnSelf());
     $this->modelObject->convertTo($product, $rowData);
 }