示例#1
0
        public void XboxOneGames()
        {
            mockXboxApiRestClient.Setup(x => x.XboxOneGames(Xuid.ToString())).Returns(readTestResponse("XboxOneGames/Success.json"));

            XboxOneGames result = xboxAPI.XboxOneGames(Xuid.ToString()).GetAwaiter().GetResult();;

            Assert.IsNotNull(result);
        }
示例#2
0
        public void XboxOneGames_ReturnsResponse()
        {
            XboxOneGames response = api.XboxOneGames(testXuid).GetAwaiter().GetResult();

            Assert.IsNotNull(response);
        }