public function setAuthKey($token) { $this->auth_key = $token; }
public function testSetAuthKey() { $api = new Api(); $api->setAuthKey('Auth Key'); $this->assertEquals('Auth Key', $api->auth_key); }