@Test
public void testGetProperty() throws Exception {

    Session delegate = mock(Session.class);
    SessionFacade<Session> facade = getFacade(delegate);
    Property mockItem = mock(Property.class);
    final String path = "/correct/path";
    when(mockItem.getPath()).thenReturn(path);
    when(delegate.getProperty(path)).thenReturn(mockItem);
    assertEquals("/correct/path with correct id", path, facade.getProperty(path).getPath());
}