" <d:Sprite width='100'>",
" <d:height>100</d:height>",
" </d:Sprite>",
"</fx:Component>"
};
IMXMLComponentNode node = getMXMLComponentNode(code);
assertThat("getChildCount", node.getChildCount(), is(1));
assertThat("getID", node.getID(), is("c1"));
assertThat("getClassNode", node.getClassNode(), is((IMXMLClassNode)null));
assertThat("getClassName", node.getClassName(), is("MySprite"));
assertThat("getContainedClassDefinitionNode", node.getContainedClassDefinitionNode(), is(node.getChild(0)));
assertThat("getContainedClassDefinition", node.getContainedClassDefinition().isInstanceOf("flash.display.Sprite", project), is(true));
assertThat("getContainedClassDefinitionNode.getChildCount", node.getContainedClassDefinitionNode().getChildCount(), is(2));
}