public void PlayerCanRemoveAFriendRequest() { authHelper.loginToAccount("userOne"); SendFriendRequestRequest request = new SendFriendRequestRequest() { FriendId = authHelper.getAccountId("userTwo") }; SendFriendRequestResponse response = client.SendFriendRequest(request); Assert.AreEqual(response.Status.IsSuccess, true); authHelper.loginToAccount("userTwo"); DenyFriendRequestRequest friendRequest = new DenyFriendRequestRequest() { FriendId = authHelper.getAccountId("userOne"), }; DenyFriendRequestResponse acceptResponse = client.DenyFriendRequest(friendRequest); Assert.AreEqual(acceptResponse.Status.IsSuccess, true); ViewFriendRequestsResponse friendResponse = client.ViewFriendRequests(new ViewFriendRequestsRequest()); Assert.AreEqual(friendResponse.Status.IsSuccess, true); Assert.AreEqual(0, friendResponse.IncomingFriends.Count); }