assertNull(ns.getMapping("xmlns"));
}
@org.junit.Test
public void testPrefix() {
NameSpaceSymbTable ns = new NameSpaceSymbTable();
ns.push();
ns.addMapping("a", "http://a", node1);
assertEquals(node1, ns.getMapping("a"));
ns.push();
assertNull(ns.getMapping("a"));
ns.push();
ns.addMapping("a", "http://c",node1);
assertEquals(node1, ns.getMapping("a"));
ns.pop();
ns.push();
assertNull(ns.getMapping("a"));
ns.addMapping("a", "http://c",node1);
assertEquals(node1, ns.getMapping("a"));
}