### Question:
AbsoluteScaleConstraint extends ScaleConstraint { public boolean evaluate(int scaledSize) { return (scaledSize > getValue()); } AbsoluteScaleConstraint(int constraint); boolean evaluate(int scaledSize);  }### Answer:
@Test public void testAbsoluteConstraintExceeded() { System.out.println("testAbsoluteConstraintExceeded"); AbsoluteScaleConstraint constraint; constraint = new AbsoluteScaleConstraint(10); assertFalse("Constraint should not be exceeded by 1", constraint.evaluate(1)); assertFalse("Constraint should not be exceeded by 5", constraint.evaluate(5)); assertFalse("Constraint should not be exceeded by 10", constraint.evaluate(10)); assertTrue("Constraint should be exceeded by 20", constraint.evaluate(20)); }