### Question:
EmpiRuleValidator implements IEmpiRuleValidator { public void validate(EmpiRulesJson theEmpiRulesJson) { validateSearchParams(theEmpiRulesJson); validateMatchFields(theEmpiRulesJson); validateSystemIsUri(theEmpiRulesJson); } @Autowired  EmpiRuleValidator(FhirContext theFhirContext, ISearchParamRetriever theSearchParamRetriever); void validate(EmpiRulesJson theEmpiRulesJson);  }### Answer:
@Test public void testValidate() throws IOException { try { setEmpiRuleJson("bad-rules-bad-url.json"); fail(); } catch (ConfigurationException e){ assertThat(e.getMessage(), is("Enterprise Identifier System (eidSystem) must be a valid URI")); } }