/** * Short description of method logout * * @access public * @author Jerome Bogaerts, <*****@*****.**> * @return boolean */ public function logout() { $returnValue = (bool) false; $returnValue = $this->generisUserService->logout(); return (bool) $returnValue; }
public function testLogout() { $this->assertTrue($this->service->isASessionOpened()); $this->service->logout(); $this->assertFalse($this->service->isASessionOpened()); }