@Test
public void testGetItemOrNull() throws Exception {

    inspectForTest(session -> {
        final JackrabbitSessionFacade facade = new JackrabbitSessionFacade(session, true);
        assertTrue("root node should be same as /",
                facade.getRootNode().isSame(facade.getItemOrNull("/")));
        assertNull("/foo node should be null", facade.getItemOrNull("/foo"));
    });
}