public Where getRules() {
        return new Where("Rules");
    }
@Test
    void queryAllRules() throws Exception {

        queryableIndex.getRules()
                .where(Rule.index()
                        .any())
                .select()
                .all(rulesQueryCallback);

        verify(rulesQueryCallback).callback(rulesArgumentCaptor.capture());

        assertThat(rulesArgumentCaptor.getValue()).hasSize(3);
    }