@Test
public void shouldEvaluateMappings() {

	final ObjectCreation.FieldAssignment mapping = new ObjectCreation.FieldAssignment("testname",
		new InputSelection(0));
	final ObjectNode result = createObjectNode("fieldname", "test");
	mapping.evaluate(createArrayNode("1", "2"), result);
	mapping.evaluate(createArrayNode("3", "4"), result);
	Assert.assertEquals(createObjectNode("fieldname", "test", "testname", "3"), result);
}