public void testMerge() { OutputModel child = new OutputModel("child", "childvalue"); OutputModel parent = new OutputModel("child", "parentvalue"); parent.setType("parenttype"); child.merge(parent); assertEquals("parenttype", child.getType()); }
public void testMerge() { OutputModel child = new OutputModel("child", "childvalue"); OutputModel parent = new OutputModel("child", "parentvalue"); parent.setType("parenttype"); child.merge(parent); assertEquals("parenttype", child.getType()); }