assertEquals(testNode, n.getName());
}
public void testCreateDuplicate() throws Exception {
String testNode = "test";
root.add(new LeafNode(serviceConfiguration, testNode, client));
assertNotNull(root.find(testNode)); // should be there
AbstractStanzaGenerator sg = getDefaultStanzaGenerator();
Stanza stanza = sg.getStanza(client, pubsubService, "id123", testNode);
ResponseStanzaContainer result = sendStanza(stanza, true);