function setUp()
 {
     parent::setUp();
     UAIDCookie::resetState();
     UAIDCookie::setUpUAID();
     $this->uaid = UAIDCookie::getSecureCookie();
     $this->assertNotNull($this->uaid);
     $logger = $this->getMock('Logger', array('log'));
     $this->world = new Feature_World($logger);
     $this->user_id = 991;
     $this->setLoggedUserId(null);
     $this->assertNull(Std::loggedUser());
 }
 public function setUp($params = [])
 {
     parent::setUp();
     UAIDCookie::resetState();
     UAIDCookie::setUpUAID();
     $this->uaid = UAIDCookie::getSecureCookie();
     $this->assertNotNull($this->uaid);
     $logger = $this->getMock('Logger', array('log'));
     $this->world = new Feature_World($logger);
     $this->userId = 991;
     $this->setLoggedUserId(null);
     $this->assertNull(Std::loggedUser());
     $this->server = $params['server'] ? $params['server'] : [];
     $this->globals = $params['global'] ? $params['global'] : [];
 }