Beispiel #1
0
        public void GetShardStatusAsync_Test()
        {
            var shardStatus = api.GetShardStatusAsync(region);

            Assert.IsNotNull(shardStatus.Result);
            Assert.AreEqual(region.ToString(), shardStatus.Result.Slug.ToString());
        }
        public void GetShardStatusAsync_Test()
        {
            EnsureCredibility(() =>
            {
                var shardStatus = Api.GetShardStatusAsync(Summoner1And2Region);

                Assert.AreEqual(StatusRiotApiTestBase.Platform.ToString().ToLower(),
                                shardStatus.Result.RegionTag);
            });
        }