@Test
public void testFailActionParser() {
assertActionCount(3);
assertActionClassAndName(Iterate.class, "iterate");
Iterate action = getNextTestActionFromTest();
Assert.assertEquals(action.getCondition(), "i lt 3");
Assert.assertEquals(action.getIndexName(), "i");
Assert.assertEquals(action.getIndex(), 1);
Assert.assertEquals(action.getStep(), 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.getStep(), 1);
Assert.assertEquals(action.getActionCount(), 1);
action = getNextTestActionFromTest();
Assert.assertEquals(action.getCondition(), "i lt= 10");
Assert.assertEquals(action.getIndexName(), "i");
Assert.assertEquals(action.getIndex(), 0);
Assert.assertEquals(action.getStep(), 5);
Assert.assertEquals(action.getActionCount(), 2);
}