### Question:
RequiredConstraint implements FieldConstraint, Serializable { public boolean isValidForFieldType(Type fieldType) { return true; }  String getType(); boolean isValidForFieldType(Type fieldType); boolean getValue(); void setValue(boolean v); static final String REQUIRED; }### Answer:
@Test public void testIsValidForFieldType() { assertTrue(constraint.isValidForFieldType(StringType.TYPE)); }