public function testInstance() { $post = new AccountListing($this->transport); $this->assertEquals([], $post->getParamWhiteList()); $this->assertEquals('POST', $post->getMethod()); $this->assertEquals('reports/account-listing/', $post->getURI()); }
/** * @return int */ public function accountListing() { $endpoint = new AccountListing($this->getTransport()); $resultRequest = $endpoint->performRequest(); return Response::extractId($resultRequest, '/reports/%d/'); }