@Test
public void testGetItem() throws Exception {

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