public async void RetrieveSummonerNamesTest() { List <long> summonerIds = new List <long>(); summonerIds.Add(26040955); Dictionary <long, string> summoners = await creepScore.RetrieveSummonerNames(CreepScore.Region.NA, summonerIds); Assert.Equal("golf1052", summoners[26040955]); List <long> summonerIds2 = new List <long>(); summonerIds2.Add(26040955); summonerIds2.Add(7460); Dictionary <long, string> summoners2 = await creepScore.RetrieveSummonerNames(CreepScore.Region.NA, summonerIds2); Assert.Equal("golf1052", summoners2[26040955]); Assert.Equal("Chaox", summoners2[7460]); List <long> summonerIds3 = new List <long>(); for (int i = 0; i < 41; i++) { summonerIds3.Add(0); } await Assert.ThrowsAsync <CreepScoreException>(async() => await creepScore.RetrieveSummonerNames(CreepScore.Region.NA, summonerIds3)); }