@Test public void queryAllRules() throws Exception { queryableIndex.getRules() .where(Rule.index() .any()) .select() .all(rulesQueryCallback); verify(rulesQueryCallback).callback(rulesArgumentCaptor.capture()); assertEquals(3, rulesArgumentCaptor.getValue() .size()); }
public Where getRules() { return new Where("Rules"); }
QueryableIndex { public Where getRules() { return new Where("Rules"); } }
QueryableIndex { public Where getRules() { return new Where("Rules"); } QueryableIndex(final Rules rules,
                          final Columns columns,
                          final ObjectTypes objectTypes); }
QueryableIndex { public Where getRules() { return new Where("Rules"); } QueryableIndex(final Rules rules,
                          final Columns columns,
                          final ObjectTypes objectTypes); Where getRules(); Where getColumns(); Where getObjectTypes(); }
QueryableIndex { public Where getRules() { return new Where("Rules"); } QueryableIndex(final Rules rules,
                          final Columns columns,
                          final ObjectTypes objectTypes); Where getRules(); Where getColumns(); Where getObjectTypes();  }