### Question:
WidgetValidator implements Validator { @Override public final boolean supports(Class<?> clazz) { return Widget.class.isAssignableFrom(clazz); } WidgetValidator(); @Override final boolean supports(Class<?> clazz); @Override void validate(Object target, Errors errors);  }### Answer:
@Test public void testSupports() throws Exception { assertTrue("Supports org.apache.rave.model.Widget", widgetValidator.supports(WidgetImpl.class)); }