protected function setUp() { $this->connectToDatabase(); $this->owner = $this->getNewPlayer(); $this->key = ApiKey::createKey("Sample Key", $this->owner->getId()); }