"<fx:Style>",
" @namespace \"library://ns.adobe.com/flex/mx\";",
" @namespace \"library://ns.adobe.com/flex/mx\";",
"</fx:Style>"
};
IMXMLStyleNode node = getMXMLStyleNode(code);
assertThat("getChildCount", node.getChildCount(), is(0));
ICSSDocument css = node.getCSSDocument(null);
ImmutableList<ICSSNamespaceDefinition> namespaces = css.getAtNamespaces();
assertThat("namespaces", namespaces.size(), is(2));
assertThat("namespace 0 prefix ", namespaces.get(0).getPrefix(), is((String)null));
assertThat("namespace 0 uri", namespaces.get(0).getURI(), is("library://ns.adobe.com/flex/mx"));
assertThat("namespace 1 prefix", namespaces.get(1).getPrefix(), is((String)null));