JcrRootNode extends AbstractJcrNode { @Override public String getPath() { return PATH; } protected  JcrRootNode( JcrSession session,
                           NodeKey rootNodeKey ); @Override JcrNodeDefinition getDefinition(); @Override boolean isNew(); @Override String getName(); @Override String getPath(); @Override AbstractJcrNode getParent();  }
@Test public void shouldProvidePath() throws Exception { assertThat(rootNode.getPath(), is("/")); }