@Test
public void testLogout() {

    Session session = mock(Session.class);
    doThrow(new IllegalStateException("should not be thrown when protected")).when(session).logout();
    JcrSessionFacade facade = new JcrSessionFacade(session, false);
    facade.logout();
}