@Test
public void testReadRowsWithNullValues() throws Exception {

	try (JSONBatchEngineImportTaskItemReader
			jsonBatchEngineImportTaskItemReader =
				_getJSONBatchEngineImportTaskItemReader(
					_FIELD_NAMES,
					new Object[][] {
						{
							"\"" + createDateString + "\"", "null", 1,
							"{\"hr\": \"naziv 1\"}"
						},
						{
							"\"" + createDateString + "\"",
							"\"sample description 2\"", 2,
							"{\"en\": \"sample name 2\", \"hr\": \"naziv " +
								"2\"}"
						}
					})) {
		validate(
			createDateString, null, 1L, Collections.emptyMap(),
			jsonBatchEngineImportTaskItemReader.read(),
			HashMapBuilder.put(
				"hr", "naziv 1"
			).build());
		validate(
			createDateString, "sample description 2", 2L,
			Collections.emptyMap(),
			jsonBatchEngineImportTaskItemReader.read(),
			HashMapBuilder.put(
				"en", "sample name 2"
			).put(
				"hr", "naziv 2"
			).build());
	}
}