### Question:
ConceptDrugValidator implements Validator { @Override public boolean supports(Class<?> c) { return Drug.class.isAssignableFrom(c); }  @Override boolean supports(Class<?> c); @Override void validate(Object obj, Errors errors);  }### Answer:
@Test public void supports_shouldRejectClassesNotExtendingDrug() { Assert.assertFalse(new ConceptDrugValidator().supports(String.class)); }
@Test public void supports_shouldSupportDrug() { Assert.assertTrue(new ConceptDrugValidator().supports(Drug.class)); }