@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());
}