public function testGetBuys()
 {
     $account = Account::reference('ACCOUNT_ID');
     $expected = new ResourceCollection();
     $response = $this->getMock(ResponseInterface::class);
     $this->http->expects($this->any())->method('get')->with('/v2/accounts/ACCOUNT_ID/buys', ['foo' => 'bar'])->willReturn($response);
     $this->mapper->expects($this->any())->method('toBuys')->with($response)->willReturn($expected);
     $actual = $this->client->getAccountBuys($account, ['foo' => 'bar']);
     $this->assertSame($expected, $actual);
 }