@Test
public void shouldGetNodeByIdentifierPath() throws Exception {

    initializeData();
    // Look up the node by the identifier path ...
    Node node = session.getNode(identifierPathFor("/a"));
    assertThat(node.getPath(), is("/a"));
    node = session.getNode(identifierPathFor("/a/b"));
    assertThat(node.getPath(), is("/a/b"));
    node = session.getNode(identifierPathFor("/"));
    assertThat(node.getPath(), is("/"));
}