List ten_done = ten.getTransitionsList("ten.done");
assertEquals(1, ten_done.size());
Transition ten2twenty = (Transition) ten_done.get(0);
List actions = ten2twenty.getActions();
assertEquals(1, actions.size());
Send send = (Send) actions.get(0);
assertEquals("send1", send.getSendid());
/* Serialize
scxmlAsString = serialize(scxml);
assertNotNull(scxmlAsString);
String expectedFoo2Serialization =
"<foo xmlns=\"http://my.test.namespace\" id=\"foo2\">"