### Question:
SurfaceTreatmentProtocolValidator extends LabelValidator { @Override public boolean supports(Class<?> clazz) { return super.supports(clazz) && SurfaceTreatmentProtocol.class.isAssignableFrom(clazz); } @Autowired  SurfaceTreatmentProtocolValidator(final SurfaceTreatmentMachineRepository surfaceTreatmentMachineRepository); @Override boolean supports(Class<?> clazz); @Override void doValidate(Object target, Errors e);  }### Answer:
@Test public void shouldSupportSurfaceTreatmentProtocol() { assertTrue(tested.supports(SurfaceTreatmentProtocol.class)); }