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); } }
public async Task <MatchInfo> GetMatchInfo(string endpoint, DateTime timestamp) { return(await statistics.GetMatchInfo(endpoint, timestamp)); }