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