public async Task GetLeaguesByTeamIdsAsyncTest() { IRiotClient client = new RiotClient(); var teamIds = new[] { "TEAM-3503e740-b492-11e3-809d-782bcb4d0bb2", "TEAM-2a88df50-da0d-11e3-b43f-782bcb4d1861" }; var leagues = await client.GetLeaguesByTeamIdsAsync(teamIds); Assert.That(leagues, Is.Not.Null); foreach (var id in teamIds) Assert.That(leagues.ContainsKey(id)); var league = leagues.Values.First().First(); Assert.That(league.Entries.Count, Is.GreaterThan(1)); Assert.That(league.Name, Is.Not.Null.And.Not.Empty); }