use of org.ihtsdo.drools.RuleExecutor in project snomed-drools by IHTSDO.
the class RuleExecutorTest method testInitFailure.
@Test
public void testInitFailure() {
final RuleExecutor ruleExecutor1 = new RuleExecutor("non-existant-directory");
try {
ruleExecutor1.execute(RULE_SET_NAMES, Collections.singleton(new ConceptImpl("1")), conceptService, descriptionService, relationshipService, true, false);
Assert.fail("Should have thrown exception.");
} catch (RuleExecutorException e) {
// Pass
}
}
Aggregations