public class MXMLNumberNodeTests extends MXMLExpressionNodeBaseTests
{
private IMXMLNumberNode getMXMLNumberNode(String[] code)
{
IMXMLFileNode fileNode = getMXMLFileNode(code);
IMXMLNumberNode node = (IMXMLNumberNode)findFirstDescendantOfType(fileNode, IMXMLNumberNode.class);
assertThat("getNodeID", node.getNodeID(), is(ASTNodeID.MXMLNumberID));
assertThat("getName", node.getName(), is("Number"));
return node;
}