{
String[] code = new String[]
{
"<d:Sprite xmlns:fx='http://ns.adobe.com/mxml/2009' xmlns:d='flash.display.*' click='trace(1); trace(2)'/>"
};
IMXMLEventSpecifierNode node = getMXMLEventSpecifierNode(code);
assertThat("getName", node.getName(), is("click"));
assertThat("getSuffix", node.getSuffix(), is(""));
assertThat("getDefinition", ((IEventDefinition)node.getDefinition()).getBaseName(), is("click"));
IASNode[] asNodes = node.getASNodes();
assertThat("getASNodes", asNodes.length, is(2));
assertThat("child 0", asNodes[0].getNodeID(), is(ASTNodeID.FunctionCallID));
assertThat("child 0", asNodes[1].getNodeID(), is(ASTNodeID.FunctionCallID));
}