assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
System.out.println(expected.getMessage()); assertEquals("Exception message mismatch", "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
    public void testDetectsFilterInvocationDefinitionSourceThatDoesNotReturnAllConfigAttributes()        throws Exception {        FilterChainProxy filterChainProxy = new FilterChainProxy();        filterChainProxy.setApplicationContext(MockApplicationContext            .getContext());        filterChainProxy.setFilterInvocationDefinitionSource(new MockFilterInvocationDefinitionSource(                false, false));        try {            filterChainProxy.afterPropertiesSet();            fail("Should have thrown IllegalArgumentException");        } catch (IllegalArgumentException expected) {            assertEquals("FilterChainProxy requires the FitlerInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",                expected.getMessage());        }    }