Example #1
0
 public function testGetRealTimeStats()
 {
     $file = file_get_contents('./tests/Responses/getRealTimeStats.json');
     $this->mockHandler->append(new Response('200', [], $file));
     $response = $this->client->getRealTimeStats(new \Dotapi2\Filters\RealTimeStats(90101107122956292));
     $this->assertArraySubset(json_decode($file, true), $response->getJson());
 }