List customActions = new ArrayList();
customActions.add(ca);
// (2) Parse the document with a custom digester.
SCXML scxml = SCXMLTestHelper.digest(payload02, customActions);
// (3) Get a SCXMLExecutor
exec = SCXMLTestHelper.getExecutor(new ELEvaluator(), scxml);
// (4) Single, final state
assertEquals("Invalid final state",
"custom", ((State) exec.getCurrentStatus().getStates().
iterator().next()).getId());
// (5) Verify datamodel variable is correct