@Test
public void testGetNamespaceURI() {

	Assert.assertEquals("Invalid namespaceURI for default namespace", "",
			context.getNamespaceURI(XMLConstants.DEFAULT_NS_PREFIX));
	String defaultNamespaceUri = "defaultNamespace";
	context.bindNamespaceUri(XMLConstants.DEFAULT_NS_PREFIX, defaultNamespaceUri);
	Assert.assertEquals("Invalid namespaceURI for default namespace", defaultNamespaceUri,
			context.getNamespaceURI(XMLConstants.DEFAULT_NS_PREFIX));
	Assert.assertEquals("Invalid namespaceURI for bound prefix", "namespaceURI", context.getNamespaceURI("prefix"));
	Assert.assertEquals("Invalid namespaceURI for unbound prefix", "", context.getNamespaceURI("unbound"));
	Assert.assertEquals("Invalid namespaceURI for namespace prefix", XMLConstants.XML_NS_URI,
			context.getNamespaceURI(XMLConstants.XML_NS_PREFIX));
	Assert.assertEquals("Invalid namespaceURI for attribute prefix", XMLConstants.XMLNS_ATTRIBUTE_NS_URI,
			context.getNamespaceURI(XMLConstants.XMLNS_ATTRIBUTE));
}