/** * @covers ZfcUser\Authentication\Adapter\Db::logout */ public function testLogout() { $this->storage->expects($this->once())->method('clear'); $this->db->logout($this->authEvent); }
/** * @covers ZfcUser\Authentication\Adapter\Db::logout */ public function testLogout() { $this->storage->expects($this->once())->method('getNameSpace')->will($this->returnValue('test')); $this->db->logout($this->authEvent); }