public function testFactorySetsTotalBalance() { $this->assert($this->account->getTotalBalance(), equals, 46.81); }
/** * Retrieves information about your Independent Reserve accounts in digital and fiat currencies. * @return Account[] */ public function getAccounts() { return array_map(function (stdClass $object) { return Account::createFromObject($object); }, json_decode($this->getPrivateEndpoint('GetAccounts'))); }