}
@Test(expected = IllegalArgumentException.class)
public void assertInboundRethrow()
{
final ExceptionToCatchEvent event = new ExceptionToCatchEvent(new IllegalArgumentException());
try
{
bm.fireEvent(event);
}
catch (IllegalArgumentException e)
{
assertFalse(event.isHandled());
assertFalse(RethrowHandler.isIaeHandlerCalled());
throw e;
}
}