/**
  * {@inheritdoc}
  */
 public function convertToImportFormat(array $importedRecord, $skipNullValues = true)
 {
     if (empty($importedRecord['price_list_id'])) {
         $importedRecord['priceList:id'] = (int) $this->context->getOption('price_list_id');
     }
     return parent::convertToImportFormat($importedRecord, $skipNullValues);
 }
 /**
  * @param string $entityName
  * @param array $input
  * @param array $expected
  * @dataProvider importDataProvider
  */
 public function testImport($entityName, array $input, array $expected)
 {
     $this->converter->setEntityName($entityName);
     $this->assertSame($expected, $this->converter->convertToImportFormat($input));
 }