"<fx:Metadata>",
" [Event(name='mouseDown', type='mx.events.MouseEvent')]",
" [Event(name='mouseUp', type='mx.events.MouseEvent')]",
"</fx:Metadata>"
};
IMXMLMetadataNode node = getMXMLMetadataNode(code);
assertThat("getChildCount", node.getChildCount(), is(2));
IMetaTagNode[] metaTagNodes = node.getMetaTagNodes();
assertThat("event 0", ((IEventTagNode)metaTagNodes[0]).getName(), is("mouseDown"));
assertThat("event 1", ((IEventTagNode)metaTagNodes[1]).getName(), is("mouseUp"));
}