public List<IndexSetFieldType> getIndexSetFieldTypesList(
            final String indexSetId,
            final String fieldNameQuery,
            final List<String> filters,
            final String sort,
            final Sorting.Direction order) {

        return getFilteredList(indexSetId, fieldNameQuery, filters, sort, order);
    }
@Test
    void testReturnsEmptyListIfCannotCreateIndexSetFromConfigForAllCall() {
        IndexSetConfig indexSetConfig = mock(IndexSetConfig.class);
        doReturn(Optional.of(indexSetConfig)).when(indexSetService).get("I_am_strangely_broken!");
        doReturn(new CustomFieldMappings()).when(indexSetConfig).customFieldMappings();
        doReturn(null).when(indexSetFactory).create(indexSetConfig);


        final List<IndexSetFieldType> response = toTest.getIndexSetFieldTypesList("I_am_strangely_broken!", "", List.of(), "index_set_id", Sorting.Direction.ASC);

        assertTrue(response.isEmpty());

        verifyNoInteractions(indexFieldTypesService);
    }