@Test
public void testFailActionParser() {
assertActionCount(3);
assertActionClassAndName(RepeatUntilTrue.class, "repeat-until-true");
RepeatUntilTrue action = getNextTestActionFromTest();
Assert.assertEquals(action.getCondition(), "i lt 3");
Assert.assertEquals(action.getIndexName(), "i");
Assert.assertEquals(action.getIndex(), 1);
Assert.assertEquals(action.getActionCount(), 1);
action = getNextTestActionFromTest();
Assert.assertEquals(action.getCondition(), "index lt= 2");
Assert.assertEquals(action.getIndexName(), "index");
Assert.assertEquals(action.getIndex(), 1);
Assert.assertEquals(action.getActionCount(), 1);
action = getNextTestActionFromTest();
Assert.assertEquals(action.getCondition(), "i lt= 10");
Assert.assertEquals(action.getIndexName(), "i");
Assert.assertEquals(action.getIndex(), 1);
Assert.assertEquals(action.getActionCount(), 2);
}