### Question:
JcrRootNode extends AbstractJcrNode { @Override public AbstractJcrNode getParent() throws ItemNotFoundException { throw new ItemNotFoundException(JcrI18n.rootNodeHasNoParent.text()); } 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( expected = ItemNotFoundException.class ) public void shouldHaveNoParent() throws Exception { rootNode.getParent(); }