Assert.assertEquals("http://felix.apache.org/ipojo/testing:test { }", rendered);
}
public void testRenderElementWithNoNamespaceAttribute() throws Exception {
Element main = new Element("test", null);
main.addAttribute(new Attribute("name", "attribute"));
String rendered = renderer.render(main);
Assert.assertEquals("test { $name=\"attribute\" }", rendered);
}
public void testRenderElementWithNamespaceAttribute() throws Exception {