setRequestMethod('POST'); $this->setRequestUri('/v3/domains/example.com/ips'); $this->setRequestBody([ 'ip' => '127.0.0.1', ]); $this->setHydrateClass(UpdateResponse::class); $api = $this->getApiInstance(); $api->assign('example.com', '127.0.0.1'); } }