public void CorrectStringActiveGamesBySummonerId() { var sut = new SpectatorV3StringHolder(new EuWestStringHolder()); var summonerId = "10"; var expected = $"{euRoot}/lol/spectator/v3/active-games/by-summoner/{summonerId}{apiKeySuffix}"; var result = sut.ActiveGamesBySummonerId(summonerId); Assert.Equal(expected, result); }
public RequestStringHolder() { EuWestStringHolder = new EuWestStringHolder(); ChampionMastery = new ChampionMasteryV3StringHolder(EuWestStringHolder); Champion = new ChampionV3StringHolder(EuWestStringHolder); League = new LeagueV3StringHolder(EuWestStringHolder); LolStatus = new LolStatusV3StringHolder(EuWestStringHolder); Match = new MatchV3StringHolder(EuWestStringHolder); Spectator = new SpectatorV3StringHolder(EuWestStringHolder); Summoner = new SummonerV3StringHolder(EuWestStringHolder); }