/** * @param integer $pageNumber * @return array */ public function getPage($pageNumber) { $result = json_decode($this->client->getPrivateEndpoint($this->endPoint, $this->params + ['pageIndex' => $pageNumber + 1])); $this->totalSize = $result->TotalItems; return array_map($this->translator, $result->Data); }
public function testRequestFiatWithdrawal() { $this->markTestSkipped("This will not be tested."); $withdrawal = $this->client->requestFiatWithdrawal(Currency::USD, 100, 'My Bank'); $this->assert($withdrawal, instance_of, '\\IndependentReserve\\Object\\FiatWithdrawal'); }