/**
  * @return void
  */
 public function logout()
 {
     $this->initialize();
     $this->session->destroy();
 }
 /**
  * @expectedException \Exception
  * @expectedExceptionMessage Sessions are disabled!
  */
 function testGetCurrentUserThrowsExceptionWhenDisabledSessions()
 {
     $this->session->expects($this->any())->method('getStatus')->willReturn(PHP_SESSION_DISABLED);
     $this->sessionManager->getCurrentUser();
 }