/** * test clear session info */ public function testClearSessionInfo() { AmfphpAuthentication::addRole('bla'); AmfphpAuthentication::clearSessionInfo(); $this->assertFalse(isset($_SESSION[AmfphpAuthentication::SESSION_FIELD_ROLES])); }
/** * sign out function */ public function signOut() { AmfphpAuthentication::clearSessionInfo(); }