{
String[] code = new String[]
{
"<fx:DesignLayer id=' dl1 ' visible=' false ' alpha=' 0.5 '/>"
};
IMXMLDesignLayerNode node = getMXMLDesignLayerNode(code);
assertThat("getChildCount", node.getChildCount(), is(2)); // visible and alpha property nodes
assertThat("getHoistedChildCount", node.getHoistedChildCount(), is(0));
assertThat("skipCodeGeneration", node.skipCodeGeneration(), is(false));
assertThat("getID", node.getID(), is("dl1"));
assertThat("getChild(0).getName()", ((IMXMLPropertySpecifierNode)node.getChild(0)).getName(), is("visible"));
assertThat("getChild(0).getName()", ((IMXMLPropertySpecifierNode)node.getChild(1)).getName(), is("alpha"));
}