public function testGetArtist()
{
$history = new History();
$client = $this->createClient('get_artist', $history);
$response = $client->getArtist(['id' => 45]);
$this->assertSame($response['id'], 45);
$this->assertSame($response['name'], 'Aphex Twin');
$this->assertSame($response['realname'], 'Richard David James');
$this->assertInternalType('array', $response['images']);
$this->assertCount(9, $response['images']);
$this->assertSame('https://api.discogs.com/artists/45', $history->getLastRequest()->getUrl());
$this->assertSame('GET', $history->getLastRequest()->getMethod());
}