### Question:
ProcessingSessionValidator extends LabelValidator { @Override public boolean supports(Class<?> aClass) { return super.supports(aClass) && ProcessingSession.class.isAssignableFrom(aClass); } ProcessingSessionValidator(@NonNull final ImageProcessingSoftwareRepository
                                              imageProcessingSoftwareRepository,
                                      @NonNull final UsedImageProcessingSoftwareRepository
                                              usedImageProcessingSoftwareRepository); @Override boolean supports(Class<?> aClass); @Override void doValidate(Object target, Errors errors);  }### Answer:
@Test public void shouldSupportSurfaceTreatmentProtocol() { assertTrue(tested.supports(ProcessingSession.class)); }