use of org.drools.workbench.services.verifier.core.checks.AnalyzerConfigurationMock in project drools-wb by kiegroup.
the class CheckFactoryTest method emptyWhiteList.
@Test
public void emptyWhiteList() throws Exception {
final AnalyzerConfigurationMock configuration = new AnalyzerConfigurationMock(CheckConfiguration.newEmpty());
assertTrue(new CheckFactory(configuration).makeSingleChecks(mock(RuleInspector.class)).isEmpty());
assertFalse(new CheckFactory(configuration).makePairRowCheck(mock(RuleInspector.class), mock(RuleInspector.class)).isPresent());
}
Aggregations