@Test
public void testReadMultipleRows() throws Exception {

	try (JSONLBatchEngineImportTaskItemReader
			jsonlBatchEngineImportTaskItemReader =
				_getJSONLBatchEngineImportTaskItemReader(
					_FIELD_NAMES,
					new Object[][] {
						{
							"\"" + createDateString + "\"",
							"\"sample description 1\"", 1,
							"{\"en\": \"sample name 1\", \"hr\": \"naziv " +
								"1\"}"
						},
						{
							"\"" + createDateString + "\"",
							"\"sample description 2\"", 2,
							"{\"en\": \"sample name 2\", \"hr\": \"naziv " +
								"2\"}"
						}
					})) {
		for (int i = 1; i < 3; i++) {
			long rowCount = i;
			validate(
				createDateString, "sample description " + rowCount,
				rowCount, Collections.emptyMap(),
				jsonlBatchEngineImportTaskItemReader.read(),
				HashMapBuilder.put(
					"en", "sample name " + rowCount
				).put(
					"hr", "naziv " + rowCount
				).build());
		}
	}
}