Search in sources :

Example 1 with AllListener

use of org.drools.verifier.core.index.select.AllListener in project drools by kiegroup.

the class ConditionsListenerTest method setUp.

@Before
public void setUp() throws Exception {
    configuration = new AnalyzerConfigurationMock();
    conditions = new Conditions();
    allListener = mock(AllListener.class);
    conditions.where(Condition.value().any()).listen().all(allListener);
}
Also used : AllListener(org.drools.verifier.core.index.select.AllListener) AnalyzerConfigurationMock(org.drools.verifier.core.AnalyzerConfigurationMock) Conditions(org.drools.verifier.core.index.model.Conditions) Before(org.junit.Before)

Aggregations

AnalyzerConfigurationMock (org.drools.verifier.core.AnalyzerConfigurationMock)1 Conditions (org.drools.verifier.core.index.model.Conditions)1 AllListener (org.drools.verifier.core.index.select.AllListener)1 Before (org.junit.Before)1