public async Task GhetPlayer_Null()
        {
            var padServiceRepo = new MatchmakingServiceRepo();
            var player         = await padServiceRepo.GetPlayer("Tosdfsdfsdfas3wadfD#2792");

            Assert.IsNull(player);
        }
        public async Task GetGames()
        {
            var padServiceRepo = new MatchmakingServiceRepo();
            var events         = await padServiceRepo.GetFrom(0);

            Assert.AreEqual(100, events.Count);
        }
 public AdminController(
     IMatchRepository matchRepository,
     MatchmakingServiceRepo matchmakingServiceRepository,
     INewsRepository newsRepository)
 {
     _matchRepository = matchRepository;
     _matchmakingServiceRepository = matchmakingServiceRepository;
     _newsRepository = newsRepository;
 }
        public async Task GetPlayer()
        {
            var padServiceRepo = new MatchmakingServiceRepo();
            var player         = await padServiceRepo.GetPlayer("ToD#2792");

            Assert.IsNotNull(player);
            Assert.AreNotEqual(0, player.data.ladder["20"].solo.wins);
            Assert.AreNotEqual(0, player.data.ladder["20"].solo.losses);
        }
        public async Task GeLeagues()
        {
            var padServiceRepo = new MatchmakingServiceRepo();
            var league         = await padServiceRepo.GetLeague(GateWay.Europe, GameMode.GM_1v1);

            Assert.IsNotNull(league);
            Assert.AreEqual(0, league.Leagues[0].Order);
            Assert.AreEqual("Grand Master League", league.Leagues[0].Name);
            Assert.AreEqual(3, league.Leagues[4].Division);
        }
 public AdminController(
     IMatchRepository matchRepository,
     MatchmakingServiceRepo matchmakingServiceRepository,
     INewsRepository newsRepository,
     ILoadingScreenTipsRepository loadingScreenTipsRepository)
 {
     _matchRepository = matchRepository;
     _matchmakingServiceRepository = matchmakingServiceRepository;
     _newsRepository = newsRepository;
     _loadingScreenTipsRepository = loadingScreenTipsRepository;
 }
 public AdminController(
     IMatchRepository matchRepository,
     MatchmakingServiceRepo matchmakingServiceRepository,
     INewsRepository newsRepository,
     ILoadingScreenTipsRepository loadingScreenTipsRepository,
     IAdminRepository adminRepository,
     IRankRepository rankRepository,
     PortraitCommandHandler portraitCommandHandler)
 {
     _matchRepository = matchRepository;
     _matchmakingServiceRepository = matchmakingServiceRepository;
     _newsRepository = newsRepository;
     _loadingScreenTipsRepository = loadingScreenTipsRepository;
     _adminRepository             = adminRepository;
     _rankRepository         = rankRepository;
     _portraitCommandHandler = portraitCommandHandler;
 }