@Test
public void testAddFilter() {
FilterConfig mockFilterConfig = createNiceMockFilterConfig();
replay(mockFilterConfig);
this.manager = new DefaultFilterChainManager(mockFilterConfig);
manager.addFilter("test", new SslFilter());
Filter filter = manager.getFilter("test");
assertNotNull(filter);
assertEquals(SslFilter.class, filter.getClass());
verify(mockFilterConfig);
}