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); }
public void XboxOneGames_ReturnsResponse() { XboxOneGames response = api.XboxOneGames(testXuid).GetAwaiter().GetResult(); Assert.IsNotNull(response); }