### Question:
GridValidator extends LabelValidator { @Override public boolean supports(Class<?> clazz) { return super.supports(clazz) && Grid.class.isAssignableFrom(clazz); } @Autowired  GridValidator(final @NonNull GridTypeRepository gridTypeRepository,
                         final @NonNull SurfaceTreatmentProtocolRepository surfaceTreatmentProtocolRepository,
                         final @NonNull VitrificationProtocolRepository vitrificationProtocolRepository,
                         final @NonNull NegativeStainProtocolRepository negativeStainProtocolRepository,
                         final @NonNull SampleRepository sampleRepository,
                         final @NonNull CryoStorageDeviceRepository cryoStorageDeviceRepository,
                         final @NonNull ConcentrationValidator concentrationValidator); @Override boolean supports(Class<?> clazz); @Override void doValidate(Object target, Errors e);  }### Answer:
@Test public void shouldSupportGrid() { assertTrue(tested.supports(Grid.class)); }