public function testListBalanceHistory() { $request = new ListBalanceHistoryRequest(); $request->setLimit(1); $history = $this->balance->listBalanceHistory($request); $this->assertInstanceOf(Balance::LIST_BALANCE_TRANSACTIONS_RESPONSE_CLASS, $history); $this->assertEquals(1, sizeof($history->getData())); }