" <d:Sprite width='100'>",
" <d:height>100</d:height>",
" </d:Sprite>",
"</fx:Definition>"
};
IMXMLDefinitionNode node = getMXMLDefinitionNode(code);
assertThat("getChildCount", node.getChildCount(), is(1));
assertThat("getDefinitionName", node.getDefinitionName(), 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));
}