@Test
public void testThatMissingNumericValuesAreNullInSparseInstances() {

	String testInstanceLine = generateSparseInstanceString(TEST_ATTRIBUTES, TEST_INSTANCE_WITH_MISSING_NUMERIC_VAL);
	Object parsedInstance = ArffDatasetAdapter.parseInstance(true, TEST_ATTRIBUTES, CLASS_INDEX, testInstanceLine);
	@SuppressWarnings("unchecked")
	Map<Integer, Object> parsedSparseInstance = (Map<Integer, Object>) parsedInstance;
	assertNull(parsedSparseInstance.get(0));
	assertNotNull(parsedSparseInstance.get(1));
	assertNotNull(parsedSparseInstance.get(2));
}