assertEquals(builder.testCase().getActions().get(0).getClass(), Catch.class);
assertEquals(builder.testCase().getActions().get(0).getName(), "catch");
assertEquals(builder.testCase().getActions().get(1).getClass(), Catch.class);
assertEquals(builder.testCase().getActions().get(1).getName(), "catch");
Catch container = (Catch)builder.testCase().getActions().get(0);
assertEquals(container.getActions().size(), 1);
assertEquals(container.getException(), "com.consol.citrus.exceptions.CitrusRuntimeException");
assertEquals(((EchoAction)(container.getActions().get(0))).getMessage(), "${var}");
container = (Catch)builder.testCase().getActions().get(1);
assertEquals(container.getActions().size(), 2);
assertEquals(container.getException(), "com.consol.citrus.exceptions.CitrusRuntimeException");
assertEquals(((EchoAction)(container.getActions().get(0))).getMessage(), "${var}");
assertEquals(((SleepAction)(container.getActions().get(1))).getMilliseconds(), "100");
}