public void AccountXuid() { mockXboxApiRestClient.Setup(x => x.AccountXuid()).Returns(readTestResponse("AccountXuid/Success.json")); AccountXuid result = xboxAPI.AccountXuid().GetAwaiter().GetResult(); Assert.AreEqual(Xuid, result.xuid); }
public void AccountXuid_ReturnsResponse() { AccountXuid response = api.AccountXuid().GetAwaiter().GetResult(); Assert.IsNotNull(response); }