/**
  * Given: A developer API key
  * When: API is queried for AreAnyGamesInProgress
  * Then: Expect a 200 response with an array of 1 entry, that entry containing 16 keys
  *
  * @group Integration
  * @medium
  */
 public function testSuccessfulResponse()
 {
     $client = new DebugClient($_SERVER['FANTASY_DATA_API_KEY'], Subscription::KEY_DEVELOPER);
     /** @var \GuzzleHttp\Command\Model $result */
     $result = $client->AreAnyGamesInProgress([]);
     $response = $client->mHistory->getLastResponse();
     $this->assertEquals('200', $response->getStatusCode());
     /** we only expect a single response from 'current' */
     $this->assertCount(1, $result);
     /** test the contents of the response to make sure it has what we expect */
     $answer = $result->toArray()[0];
     $this->assertContains($answer, ["true", "false"]);
 }