Whoops, almost forgot to remove System.out debug lines :-/

This commit is contained in:
Scott McCrory 2005-07-26 00:55:53 +00:00
parent f4c8211cc2
commit f5975dcf30
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@ public class FilterChainProxyTests extends TestCase {
filterChainProxy.afterPropertiesSet(); filterChainProxy.afterPropertiesSet();
fail("Should have thrown IllegalArgumentException"); fail("Should have thrown IllegalArgumentException");
} catch (IllegalArgumentException expected) { } catch (IllegalArgumentException expected) {
System.out.println(expected.getMessage()); assertEquals("FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
assertEquals("Exception message mismatch", "FilterChainProxy requires the FilterInvocationDefinitionSource to return a non-null response to getConfigAttributeDefinitions()",
expected.getMessage()); expected.getMessage());
} }
} }