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