### Question:
DecisionTreeChildModel extends AbstractValueModel { @Override public void setValue(final Object newValue) { d_tree.replaceChild(d_edge, (DecisionTreeNode) newValue); } DecisionTreeChildModel(final DecisionTree tree, final DecisionTreeEdge edge); @Override Object getValue(); @Override void setValue(final Object newValue);  }### Answer:
@Test public void testSetValue() { d_model.setValue(d_child2); assertEquals(d_child2, d_tree.getEdgeTarget(d_edge)); assertEquals(d_child2, d_model.getValue()); }