Mirrored Ben's FilterChainProxy.java 1.5 spelling fix to its corresponding test class, which depended on equality of the exception message. All JUnit tests pass now.

This commit is contained in:
Scott McCrory 2005-07-26 00:50:43 +00:00
parent 6018ef22a8
commit 891cd7380c
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ public class FilterChainProxyTests extends TestCase {
filterChainProxy.afterPropertiesSet();
fail("Should have thrown IllegalArgumentException");
} catch (IllegalArgumentException expected) {
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()",
expected.getMessage());
}
}