" <binding>c</binding>\n" +
" </bindings>";
Element e = XMLUtil.stringToElement(s);
JNDIBindings b = new JNDIBindings(e);
List names = b.getNames();
assertEquals(3, names.size());
assertEquals("a", (String)names.get(0));
assertEquals("b", (String)names.get(1));
assertEquals("c", (String)names.get(2));