@Test
public void testGetPrefix() {

	context.bindDefaultNamespaceUri("defaultNamespaceURI");
	Assert.assertEquals("Invalid prefix for default namespace", XMLConstants.DEFAULT_NS_PREFIX,
			context.getPrefix("defaultNamespaceURI"));
	Assert.assertEquals("Invalid prefix for bound namespace", "prefix", context.getPrefix("namespaceURI"));
	Assert.assertNull("Invalid prefix for unbound namespace", context.getPrefix("unbound"));
	Assert.assertEquals("Invalid prefix for namespace", XMLConstants.XML_NS_PREFIX,
			context.getPrefix(XMLConstants.XML_NS_URI));
	Assert.assertEquals("Invalid prefix for attribute namespace", XMLConstants.XMLNS_ATTRIBUTE,
			context.getPrefix(XMLConstants.XMLNS_ATTRIBUTE_NS_URI));
}