### Question:
RadiologyOrderValidator implements Validator { public boolean supports(Class clazz) { return RadiologyOrder.class.isAssignableFrom(clazz); }  boolean supports(Class clazz); void validate(Object obj, Errors errors);  }### Answer:
@Test public void shouldReturnFalseForOtherObjectTypes() throws Exception { assertFalse(radiologyOrderValidator.supports(Object.class)); }
@Test public void shouldReturnTrueForRadiologyOrderObjects() throws Exception { assertTrue(radiologyOrderValidator.supports(RadiologyOrder.class)); }