### Question:
StringLengthConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return StringType.TYPE.equals(fieldType); } StringLengthConstraint(String type);  StringLengthConstraint(String type, int value); @Override boolean isValidForFieldType(Type fieldType); static final String MINLENGTH; static final String MAXLENGTH; }### Answer:
@Test public void testIsValidForFieldType() { assertTrue(constraint.isValidForFieldType(StringType.TYPE)); }