@Override
    public SortedSet<ZuulFilter<?, ?>> getFiltersByType(FilterType filterType) {
        return filtersByType.get(filterType);
    }
@Test
    void getFiltersByType() {
        StaticFilterLoader filterLoader = new StaticFilterLoader(
                factory, ImmutableSet.of(DummyFilter2.class, DummyFilter1.class, DummyFilter22.class));

        SortedSet<ZuulFilter<?, ?>> filters = filterLoader.getFiltersByType(FilterType.INBOUND);
        Truth.assertThat(filters).hasSize(3);
        List<ZuulFilter<?, ?>> filterList = new ArrayList<>(filters);

        Truth.assertThat(filterList.get(0)).isInstanceOf(DummyFilter1.class);
        Truth.assertThat(filterList.get(1)).isInstanceOf(DummyFilter2.class);
        Truth.assertThat(filterList.get(2)).isInstanceOf(DummyFilter22.class);
    }