@Test
public void evaluateMapValues(){

	FieldName name = FieldName.create("x");
	List<List<String>> rows = Arrays.asList(
		Arrays.asList("0", "zero"),
		Arrays.asList("1", "one")
	);
	MapValues mapValues = new MapValues("data:output", null, createInlineTable(rows, Arrays.asList("data:input", "data:output")))
		.addFieldColumnPairs(new FieldColumnPair(name, "data:input"));
	assertEquals("zero", evaluate(mapValues, name, "0"));
	assertEquals("one", evaluate(mapValues, name, "1"));
	assertEquals(null, evaluate(mapValues, name, "3"));
	assertEquals(null, evaluate(mapValues, name, null));
	mapValues.setMapMissingTo("Missing");
	assertEquals("Missing", evaluate(mapValues, name, null));
	mapValues.setDefaultValue("Default");
	assertEquals("Default", evaluate(mapValues, name, "3"));
}