"<fx:Declarations className='MySprite'>",
" <fx:int/>",
" <fx:uint/>",
"</fx:Declarations>"
};
IMXMLDeclarationsNode node = getMXMLDeclarationsNode(code);
assertThat("getChildCount", node.getChildCount(), is(2));
assertThat("getDeclarationInstanceNodes", node.getDeclarationInstanceNodes().length, is(2));
assertThat("getDeclarationInstanceNodes[0]", node.getDeclarationInstanceNodes()[0].getName(), is("int"));
assertThat("getDeclarationInstanceNodes[1]", node.getDeclarationInstanceNodes()[1].getName(), is("uint"));
}