@Test
public void testReadMultipleRows() throws Exception {

	try (CSVBatchEngineImportTaskItemReader
			csvBatchEngineImportTaskItemReader =
				_getCSVBatchEngineImportTaskItemReader(
					FIELD_NAMES, StringPool.COMMA,
					new Object[][] {
						{
							createDateString, "sample description 1", 1,
							"sample name 1", "naziv 1"
						},
						{
							createDateString, "sample description 2", 2,
							"sample name 2", "naziv 2"
						}
					})) {
		for (int i = 1; i < 3; i++) {
			long rowCount = i;
			validate(
				createDateString, "sample description " + rowCount,
				rowCount, Collections.emptyMap(),
				csvBatchEngineImportTaskItemReader.read(),
				HashMapBuilder.put(
					"en", "sample name " + rowCount
				).put(
					"hr", "naziv " + rowCount
				).build());
		}
	}
}