" <fx:int>3</fx:int>",
" <fx:int>4</fx:int>",
" </fx:Array>",
"</fx:Array>"
};
IMXMLArrayNode node = getMXMLArrayNode(code);
assertThat("getChildCount", node.getChildCount(), is(2));
assertThat("[0].getChildCount", ((IMXMLArrayNode)node.getChild(0)).getChildCount(), is(2));
assertThat("[0][0]", ((IMXMLIntNode)node.getChild(0).getChild(0)).getValue(), is(1));
assertThat("[0][1]", ((IMXMLIntNode)node.getChild(0).getChild(1)).getValue(), is(2));
assertThat("[1].getChildCount", ((IMXMLArrayNode)node.getChild(1)).getChildCount(), is(2));
assertThat("[1][0]", ((IMXMLIntNode)node.getChild(1).getChild(0)).getValue(), is(3));
assertThat("[1][1]", ((IMXMLIntNode)node.getChild(1).getChild(1)).getValue(), is(4));
}