use of org.drools.workbench.services.verifier.api.client.index.ObjectTypes in project drools-wb by kiegroup.
the class QueryableIndexTest method setUp.
@Before
public void setUp() throws Exception {
configuration = new AnalyzerConfigurationMock();
final Rules rules = new Rules();
rules.add(new Rule(0, configuration));
rules.add(new Rule(1, configuration));
rules.add(new Rule(2, configuration));
final Columns columns = new Columns();
firstColumn = new Column(0, configuration);
columns.add(firstColumn);
columns.add(new Column(1, configuration));
final ObjectTypes objectTypes = new ObjectTypes();
objectTypes.add(new ObjectType("Person", configuration));
objectTypes.add(new ObjectType("Address", configuration));
queryableIndex = new QueryableIndex(rules, columns, objectTypes);
}
Aggregations