@Test
public void testGetPrefixes() {

	context.bindDefaultNamespaceUri("defaultNamespaceURI");
	assertPrefixes("defaultNamespaceURI", XMLConstants.DEFAULT_NS_PREFIX);
	assertPrefixes("namespaceURI", "prefix");
	Assert.assertFalse("Invalid prefix for unbound namespace", context.getPrefixes("unbound").hasNext());
	assertPrefixes(XMLConstants.XML_NS_URI, XMLConstants.XML_NS_PREFIX);
	assertPrefixes(XMLConstants.XMLNS_ATTRIBUTE_NS_URI, XMLConstants.XMLNS_ATTRIBUTE);
}