public function let(ContainerInterface $container, ArrayHelper $arrayHelper, SpreadsheetLoaderInterface $spreadsheetReader, SpreadsheetInterface $spreadsheet)
 {
     parent::let($container, $arrayHelper, $spreadsheetReader, $spreadsheet);
     $spreadsheet->createRowIterator(0, [])->willReturn(new \ArrayIterator([1 => ['tab1_column1', 'tab1_column2'], 2 => ['tab1_value1', 'tab1_value2'], 3 => ['tab1_value3', 'tab1_value4'], 4 => ['tab1_value5', 'tab1_value6']]));
     $spreadsheet->createRowIterator(1, [])->willReturn(new \ArrayIterator([1 => ['tab2_column1', 'tab2_column2'], 2 => ['tab2_value1', 'tab2_value2'], 3 => ['tab2_value3', 'tab2_value4']]));
     $spreadsheet->createRowIterator(2, [])->willReturn(new \ArrayIterator([1 => ['tab3_column1', 'tab3_column2'], 2 => ['tab3_value1', 'tab3_value2'], 3 => ['tab3_value3', 'tab3_value4']]));
     $spreadsheet->createRowIterator(3, [])->willReturn(new \ArrayIterator([2 => ['tab4_column1', 'tab4_column2'], 4 => ['tab4_value1', 'tab4_value2'], 5 => ['tab4_value3', 'tab4_value4']]));
 }
 public function let(ContainerInterface $container, ArrayHelper $arrayHelper, SpreadsheetLoaderInterface $spreadsheetReader, SpreadsheetInterface $spreadsheet)
 {
     parent::let($container, $arrayHelper, $spreadsheetReader, $spreadsheet);
     $spreadsheet->getWorksheets()->willReturn(['bogus', 'family1', 'family2']);
     $spreadsheet->createRowIterator(1, [])->willReturn(new \ArrayIterator([1 => ['', '', '', '', 'locale1', 'locale2'], 2 => ['bogus', 'family1', 'bogus', 'bogus', 'family1_locale1', 'family1_locale2'], 3 => [], 5 => ['', '', '', '', 'channel1', 'channel2'], 6 => ['code', 'use_as_label', 'column1', 'column2'], 8 => ['attribute1', '', 'bogus', 'bogus', '1', ''], 10 => ['attribute2', '1', 'bogus', 'bogus', '1', '1'], 11 => ['attribute3', '', '', '', '', '1']]));
     $spreadsheet->createRowIterator(2, [])->willReturn(new \ArrayIterator([1 => ['', '', '', '', 'locale1', 'locale2'], 2 => ['bogus', 'family2', 'bogus', 'bogus', 'family2_locale1', 'family2_locale2'], 3 => [], 5 => ['', '', '', '', 'channel1', 'channel2'], 6 => ['code', 'use_as_label', 'column1', 'column2'], 7 => ['attribute1', '1', 'bogus', 'bogus', '1', ''], 10 => ['attribute5', '', 'bogus', 'bogus', '1', '1'], 11 => ['attribute6', '', '', '', '', '1'], 12 => ['attribute7', '', '', '', '', '']]));
     $this->beConstructedWith('path', ['channel_label_row' => 5, 'attribute_label_row' => 6, 'attribute_data_row' => 7, 'code_row' => 2, 'code_column' => 1, 'labels_label_row' => 1, 'labels_data_row' => 2, 'labels_column' => 4, 'include_worksheets' => ['/^family/']]);
     $this->setContainer($container);
 }