public function testCloseAccountWhenNoSessionThrowsAnException()
 {
     $app = self::$DI['app'];
     $authenticator = new Authenticator($app, $app['browser'], $app['session'], $app['EM']);
     $this->setExpectedException('Alchemy\\Phrasea\\Exception\\RuntimeException', 'No session to close.');
     $authenticator->closeAccount();
 }