Collection treePath = Arrays.asList(new String[] { "1", "2", "3", "4" });
HashTree tree = new HashTree();
log.debug("treePath = " + treePath);
tree.add(treePath, "value");
log.debug("Now treePath = " + treePath);
log.debug(tree.toString());
assertEquals(1, tree.list(treePath).size());
assertEquals("value", tree.getArray(treePath)[0]);
}
public void testEqualsAndHashCode1() throws Exception {