public function testGetByIdAndSession() { $this->model->login = '******'; $this->model->save(); $this->model->updateLastActivity(); $user = User::getByIdAndSession($this->model->id, \Bazalt\Session::getSessionId()); $this->assertEquals($this->model->id, $user->id); }