public async Task GetLeagueByIdAsyncTest() { IRiotClient client = new RiotClient(); LeagueList league = await client.GetLeagueByIdAsync("a681d5d0-430e-11e8-a82d-c81f66cf2333"); Assert.That(league, Is.Not.Null); Assert.That(league.Entries.Count, Is.GreaterThan(1)); Assert.That(league.Name, Is.Not.Null.And.Not.Empty); }
public async Task GetLeagueByIdAsyncTest() { IRiotClient client = new RiotClient(); LeagueList league = await client.GetLeagueByIdAsync("ea0e8e10-f639-11e6-b789-c81f66cf2333"); Assert.That(league, Is.Not.Null); Assert.That(league.Entries.Count, Is.GreaterThan(1)); Assert.That(league.Name, Is.Not.Null.And.Not.Empty); }