[ // Test 0 ----------------------------------------- { "input": {"fooList": ["DONE"]}, "output": {}, "states": [ "FirstState", "ForLoopCondition", "Succeed" ], }, // Test 1 ----------------------------------------- { "input": {"fooList": ["Item0", "DONE"]}, "output": {}, "states": [ "FirstState", "ForLoopCondition", "PassState", "ForLoopCondition", "Succeed" ] }, // Test 2 ----------------------------------------- { "input": {"fooList": ["Item0", "Item1", "DONE"]}, "output": {}, "states": [ "FirstState", "ForLoopCondition", "PassState", "ForLoopCondition", "PassState", "ForLoopCondition", "Succeed" ] }, // Test 3 ----------------------------------------- { "input": {}, "error": { "Error": "States.NoChoiceMatched", "Cause": "Malformed choice*" }, "states": [ "FirstState", "ForLoopCondition" ] } ]