public function testGetOrders()
{
$client = $this->createClient('get_orders', $history = new History());
$response = $client->getOrders(['status' => 'New Order', 'sort' => 'price', 'sort_order' => 'asc']);
$this->assertArrayHasKey('pagination', $response);
$this->assertArrayHasKey('orders', $response);
$this->assertCount(1, $response['orders']);
$this->assertSame('GET', $history->getLastRequest()->getMethod());
$this->assertSame('https://api.discogs.com/marketplace/orders?status=New%20Order&sort=price&sort_order=asc', $history->getLastRequest()->getUrl());
}