/** * @param array $parameters * @param \tx_externalimport_importer $pObj */ public function processParameters($parameters, $pObj) { if (isset($parameters['rows_per_cycle'])) { $parameters['rows_per_cycle_identifier'] = $pObj->getTableName() . '-' . $pObj->getIndex(); } return $parameters; }
/** * @test * @dataProvider mappingTestWithStriposWithBadMappingTableProvider * @expectedException UnexpectedValueException */ public function failMatchWordsWithStriposNotSymmetric($inputData, $mappingTable, $mappingConfiguration) { $this->importer->matchSingleField($inputData, $mappingConfiguration, $mappingTable); }