public void CorrectStringForChampionsEuWest() { var sut = new ChampionV3StringHolder(new EuWestStringHolder()); var expected = $"{euRoot}/lol/platform/v3/champions{apiKeySuffix}"; var result = sut.Champions(); Assert.Equal(result, expected); }
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); }