Esempio n. 1
0
        public void Xbox360Games()
        {
            mockXboxApiRestClient.Setup(x => x.Xbox360Games(Xuid.ToString()))
            .Returns(readTestResponse("Xbox360Games/Success.json"));

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

            Assert.IsNotNull(result);
        }
Esempio n. 2
0
        public void Xbox360Games_ReturnsResponse()
        {
            Xbox360Games response = api.Xbox360Games(testXuid).GetAwaiter().GetResult();

            Assert.IsNotNull(response);
        }