### Question:
MinMaxConstraint implements FieldConstraint, Serializable { public void setValue(Number value) { this.value = value; } MinMaxConstraint(String type); @Override String getType(); @Override boolean isValidForFieldType(Type fieldType); Number getValue(); void setValue(Number value); static final String MIN; static final String MAX; }### Answer:
@Test public void testSetValue() { constraint.setValue(0); assertEquals(constraint.getValue(), 0); }