@Test
public void testGetPrefix() throws Exception {

  testGetPrefix(new XmlNamespaceContext(Collections.map(
          tuple("foo", "http://foo.org"),
          tuple("bar", "http://bar.org"))));
  testGetPrefix(XmlNamespaceContext.mk(asList(
          new XmlNamespaceBinding("foo", "http://foo.org"),
          new XmlNamespaceBinding("bar", "http://bar.org"))));
}