@Test public void testGetDependencies() throws Exception { Set<Dependency<?>> dependencySet = underTest.getDependencies(); assertEquals(4, dependencySet.size()); assertTrue("Dependency set doesn't contain key1a.", dependencySet.contains(Dependency.get(key1a))); assertTrue("Dependency set doesn't contain key1b.", dependencySet.contains(Dependency.get(key1b))); assertTrue("Dependency set doesn't contain key1c.", dependencySet.contains(Dependency.get(key1c))); assertTrue("Dependency set doesn't contain key2a.", dependencySet.contains(Dependency.get(key2a))); }
public Set<Dependency<?>> getDependencies() { return dependencies; }
FilterChainResolverProvider implements ProviderWithDependencies<FilterChainResolver> { public Set<Dependency<?>> getDependencies() { return dependencies; } }
FilterChainResolverProvider implements ProviderWithDependencies<FilterChainResolver> { public Set<Dependency<?>> getDependencies() { return dependencies; } FilterChainResolverProvider(Map<String, Key<? extends Filter>[]> chains); }
FilterChainResolverProvider implements ProviderWithDependencies<FilterChainResolver> { public Set<Dependency<?>> getDependencies() { return dependencies; } FilterChainResolverProvider(Map<String, Key<? extends Filter>[]> chains); @Inject(optional = true) void setPatternMatcher(PatternMatcher patternMatcher); Set<Dependency<?>> getDependencies(); FilterChainResolver get(); }
FilterChainResolverProvider implements ProviderWithDependencies<FilterChainResolver> { public Set<Dependency<?>> getDependencies() { return dependencies; } FilterChainResolverProvider(Map<String, Key<? extends Filter>[]> chains); @Inject(optional = true) void setPatternMatcher(PatternMatcher patternMatcher); Set<Dependency<?>> getDependencies(); FilterChainResolver get();  }