### Question:
JcrRootNode extends AbstractJcrNode { @Override public int getDepth() { return 0; } JcrRootNode( SessionCache cache,
                 NodeId nodeId,
                 Location location ); @Override int getDepth(); int getIndex(); String getName(); @Override AbstractJcrNode getParent(); String getPath(); @Override final Item getAncestor( int depth ); @Override void remove(); @Override void removeShare(); @Override void removeSharedSet();  }### Answer:
@Test public void shouldHaveZeroDepth() throws Exception { assertThat(rootNode.getDepth(), is(0)); }