### Question:
ArraySizeConstraint extends AbstractIntFieldConstraint { @Override public boolean isValidForFieldType(Type fieldType) { return ArrayType.TYPE.equals(fieldType); } ArraySizeConstraint(String type); @Override boolean isValidForFieldType(Type fieldType); static final String MIN; static final String MAX; }### Answer:
@Test public void testIsValidForFieldType() { assertTrue(constraint.isValidForFieldType(ArrayType.TYPE)); }