@Test
public void testHasNodes() throws Exception {

    Node delegate = mock(Node.class);
    NodeFacade<Node, Session> facade = getFacade(delegate);
    when(delegate.hasNodes()).thenReturn(true);
    assertTrue("is true", facade.hasNodes());
}