SCXML scxml = SCXMLDigester.digest(invoke01,
new SimpleErrorHandler());
exec = new SCXMLExecutor(new JexlEvaluator(), new SimpleDispatcher(),
new SimpleErrorReporter());
assertNotNull(exec);
exec.setRootContext(new JexlContext());
exec.setStateMachine(scxml);
exec.registerInvokerClass("scxml", SimpleSCXMLInvoker.class);
exec.go();
Set currentStates = exec.getCurrentStatus().getStates();
assertEquals(1, currentStates.size());