assertEquals(builder.testCase().getActions().size(), 1);
assertEquals(builder.testCase().getActions().get(0).getClass(), Assert.class);
assertEquals(builder.testCase().getActions().get(0).getName(), "assert");
Assert container = (Assert)(builder.testCase().getTestAction(0));
assertEquals(container.getActions().size(), 1);
assertEquals(container.getAction().getClass(), EchoAction.class);
assertEquals(container.getException(), CitrusRuntimeException.class);
assertEquals(container.getMessage(), "Unknown variable 'foo'");
assertEquals(((EchoAction)(container.getAction())).getMessage(), "${foo}");
}