@Test
public void testHasNode() throws Exception {

    Node delegate = mock(Node.class);
    NodeFacade<Node, Session> facade = getFacade(delegate);
    final String path = "/correct/path";
    when(delegate.hasNode(path)).thenReturn(true);
    assertTrue("is true", facade.hasNode(path));
}