@Test
public void testGetPropertyOrNull() throws Exception {

    inspectForTest(session -> {
        final JackrabbitSessionFacade facade = new JackrabbitSessionFacade(session, true);
        assertNull("property should be null", facade.getPropertyOrNull("/jcr:system/someProp"));
        final Node fooNode = session.getRootNode().addNode("foo", JcrConstants.NT_UNSTRUCTURED);
        fooNode.setProperty("someProp", "someVal");
        assertEquals("someProp should have someVal value",
                "someVal", facade.getPropertyOrNull("/foo/someProp").getString());
    });
}