@Test
    @SuppressWarnings("unchecked")
    void testGetDependencies() throws Exception {

        Set<Dependency<?>> dependencySet = underTest.getDependencies();
        assertEquals(4, dependencySet.size());

        assertTrue(dependencySet.contains(Dependency.get(key1a)), "Dependency set doesn't contain key1a.");
        assertTrue(dependencySet.contains(Dependency.get(key1b)), "Dependency set doesn't contain key1b.");
        assertTrue(dependencySet.contains(Dependency.get(key1c)), "Dependency set doesn't contain key1c.");
        assertTrue(dependencySet.contains(Dependency.get(key2a)), "Dependency set doesn't contain key2a.");
    }
This test relies on the internal structure of FilterChainResolver in order to check that it got created correctly.
support/guice/src/test/java/org/apache/shiro/guice/web/FilterChainResolverProviderTest.java