/**
  * Test for method prepareAttributesWithDefaultValueForSave
  */
 public function testPrepareAttributesWithDefaultValueForSave()
 {
     $rowData = ['_attribute_set' => 'Default', 'sku' => 'downloadablesku1', 'product_type' => 'downloadable', 'name' => 'Downloadable Product 1', 'downloadable_samples' => 'group_title=Group Title Samples, title=Title 1, file=media/file.mp4,sortorder=1' . '|group_title=Group Title, title=Title 2, url=media/file2.mp4,sortorder=0', 'downloadable_links' => 'group_title=Group Title Links, title=Title 1, price=10, downloads=unlimited,' . ' file=media/file_link.mp4,sortorder=1|group_title=Group Title, title=Title 2, price=10, downloads' . '=unlimited, url=media/file2.mp4,sortorder=0'];
     $this->connectionMock->expects($this->any())->method('fetchAll')->with($this->select)->willReturnOnConsecutiveCalls([['attribute_set_name' => '1', 'attribute_id' => '1'], ['attribute_set_name' => '2', 'attribute_id' => '2']]);
     $this->downloadableModelMock = $this->objectManagerHelper->getObject('\\Magento\\DownloadableImportExport\\Model\\Import\\Product\\Type\\Downloadable', ['attrSetColFac' => $this->attrSetColFacMock, 'prodAttrColFac' => $this->prodAttrColFacMock, 'resource' => $this->resourceMock, 'params' => $this->paramsArray, 'uploaderHelper' => $this->uploaderHelper, 'downloadableHelper' => $this->downloadableHelper]);
     $this->setPropertyValue($this->downloadableModelMock, '_attributes', ['Default' => ['name' => ['id' => '69', 'code' => 'name', 'is_global' => '0', 'is_required' => '1', 'is_unique' => '0', 'frontend_label' => 'Name', 'is_static' => false, 'apply_to' => [], 'type' => 'varchar', 'default_value' => null, 'options' => []], 'sku' => ['id' => '70', 'code' => 'sku', 'is_global' => '1', 'is_required' => '1', 'is_unique' => '1', 'frontend_label' => 'SKU', 'is_static' => true, 'apply_to' => [], 'type' => 'varchar', 'default_value' => null, 'options' => []]]]);
     $this->downloadableModelMock->prepareAttributesWithDefaultValueForSave($rowData);
 }