Esempio n. 1
0
        public async Task GetMatchInfo_ThrowsNotFoundOnNonexistent()
        {
            var endpoint  = "PutServerInfo_SavesInfo";
            var timeStamp = DateTime.UtcNow.Date;

            try
            {
                await statistics.GetMatchInfo(endpoint, timeStamp);
            }
            catch (Exception e)
            {
                Assert.IsTrue(e is NotFoundException);
            }
        }
Esempio n. 2
0
 public async Task <MatchInfo> GetMatchInfo(string endpoint, DateTime timestamp)
 {
     return(await statistics.GetMatchInfo(endpoint, timestamp));
 }