### Question:
MinMaxConstraint implements FieldConstraint, Serializable { @Override public String getType() { return type; } 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 testGetType() { assertTrue(constraint.getType().equals(IntegerType.TYPE.toString())); }