### Question:
DomainChangedModel extends AbstractValueModel implements ValueHolder<Boolean> { public Boolean getValue() { return d_changed; } DomainChangedModel(Domain domain, boolean changed); Boolean getValue(); void setValue(Object newValue);  }### Answer:
@Test public void testInitial() { assertFalse(d_model.getValue()); assertTrue(new DomainChangedModel(d_domain, true).getValue()); }
@Test public void testEndpoint() { d_domain.getEndpoints().add(ExampleData.buildEndpointCgi()); assertTrue(d_model.getValue()); }