Assert.assertEquals(builder.testCase().getActions().size(), 2);
Assert.assertEquals(builder.testCase().getActions().get(0).getClass(), TraceVariablesAction.class);
Assert.assertEquals(builder.testCase().getActions().get(1).getClass(), TraceVariablesAction.class);
TraceVariablesAction action = (TraceVariablesAction)builder.testCase().getActions().get(0);
Assert.assertEquals(action.getName(), "trace");
Assert.assertNull(action.getVariableNames());
action = (TraceVariablesAction)builder.testCase().getActions().get(1);
Assert.assertEquals(action.getName(), "trace");
Assert.assertNotNull(action.getVariableNames());
Assert.assertEquals(action.getVariableNames().toString(), "[variable1, variable2]");
}