public function testScoreAttachResponse()
{
$this->client->shouldReceive('baseUrl')->with('https://na.api.pvp.net/api/lol/na/')->once();
$this->client->shouldReceive('baseUrl')->with('https://na.api.pvp.net/championmastery/location/NA1/')->once();
$this->client->shouldReceive('request')->with('player/74602/score', ['api_key' => 'key'])->once()->andReturn(999);
$this->client->shouldReceive('request')->with('v1.4/summoner/by-name/bakasan', ['api_key' => 'key'])->once()->andReturn(file_get_contents('tests/Json/summoner.bakasan.json'));
$api = new Api('key', $this->client);
$bakasan = $api->summoner()->info('bakasan');
$api->championMastery()->score($bakasan);
$this->assertTrue($bakasan->score == 999);
}