@Test(expectedExceptions=CitrusRuntimeException.class)
@SuppressWarnings({ "unchecked", "rawtypes" })
public void testAssertExceptionWrongMessageCheck() {
Assert assertAction = new Assert();
FailAction fail = new FailAction();
fail.setMessage("This went wrong!");
assertAction.setAction(fail);
Class exceptionClass = CitrusRuntimeException.class;
assertAction.setException(exceptionClass);