Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException.

This commit is contained in:
Mark Fisher
2008-09-29 14:24:56 +00:00
parent c78e7e67ad
commit 1f0cf0fcf2
8 changed files with 16 additions and 36 deletions

View File

@@ -72,7 +72,7 @@ public class MessageBusParserTests {
}
catch (BeanDefinitionStoreException e) {
exceptionThrown = true;
assertEquals(ConfigurationException.class, e.getCause().getClass());
assertEquals(IllegalStateException.class, e.getCause().getClass());
}
assertTrue(exceptionThrown);
}