public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) {

        return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters))));

    }
@Test
    public void hashResolvesToRoot() {

        ObjectNode root = new ObjectMapper().createObjectNode();

        root.set("child1", root.objectNode());
        root.set("child2", root.objectNode());
        root.set("child3", root.objectNode());

        assertThat((ObjectNode) resolver.resolve(root, "#", "#/."), is(sameInstance(root)));

    }