/** * Test all games query from api handler * @return void */ public function testGetGamesForTeam() { $allGames = self::$apiHandler->getGamesForTeam(new Team(428988, "Herren 3. Liga Gruppe 10")); $this->assertInstanceOf('WP_SUAPI\\Object\\Game', $allGames[0]); }