public void ChampionMasteryReturnsChampionMasteryIfFound() { var sut = new ChampionMasteryV3Request(new RequestStringHolder()); var summonerId = "20841022"; //valid id that should correspond to actual data. var championId = "105"; //valid id. var result = sut.ChampionMastery(summonerId, championId); Assert.NotNull(result); }
public void ChampionMasteryReturnsNullIfNotFound() { var sut = new ChampionMasteryV3Request(new RequestStringHolder()); var summonerId = "10";//made up invalid id that should not match any data. var championId = "10"; var result = sut.ChampionMastery(summonerId, championId); Assert.Null(result); }