use of org.drools.verifier.core.maps.InspectorList in project drools by kiegroup.
the class RelationResolverConflictsTest method setUp.
@Before
public void setUp() throws Exception {
configuration = new AnalyzerConfigurationMock();
a = new InspectorList(configuration);
b = new InspectorList(configuration);
firstItemInA = spy(new Person(10));
isConflicting = spy(new Person(15));
a.add(firstItemInA);
a.add(isConflicting);
b.add(new Person(10));
relationResolver = new RelationResolver(a, true);
}
use of org.drools.verifier.core.maps.InspectorList in project drools by kiegroup.
the class RelationResolverSubsumptionTest method setUp.
@Before
public void setUp() throws Exception {
configuration = new AnalyzerConfigurationMock();
a = new InspectorList(configuration);
b = new InspectorList(configuration);
a.add(new Person(15));
firstItemInB = spy(new Person(15));
b.add(firstItemInB);
blockingItem = spy(new Person(10));
b.add(blockingItem);
relationResolver = new RelationResolver(a, true);
}
Aggregations