@Override
    public List<String> retrieveAll(GroupVersionKind type, ListOptions options, Sort sort) {
        return doRetrieve(type, options, sort);
    }
@Test
    void retrieveAll() {
        var spyIndexedQueryEngine = spy(indexedQueryEngine);
        doReturn(List.of()).when(spyIndexedQueryEngine)
            .doRetrieve(any(), any(), eq(Sort.unsorted()));

        var gvk = GroupVersionKind.fromExtension(DemoExtension.class);

        var result = spyIndexedQueryEngine.retrieveAll(gvk, new ListOptions(), Sort.unsorted());
        assertThat(result).isEmpty();

        verify(spyIndexedQueryEngine).doRetrieve(eq(gvk), any(), eq(Sort.unsorted()));
    }