Writing unit test case for the following scenario:
User Request logic
✓ test 1: Add fromUserID to the pending list of toUserID.
✓ test 2: Add fromUserID to the pending list of toUserID.
✓ test 1: Add the user to the accepted list of both users.
✓ test 2: Add user to the accepted list of both users.
✓ Get the list of Accepted requests.
✓ Get the list of Pending requests.
✓ Check whether the user request is accepted.
✓ Check whether the user request is pending.
Writing unit test case for the following scenario:
User Request logic ✓ test 1: Add fromUserID to the pending list of toUserID. ✓ test 2: Add fromUserID to the pending list of toUserID. ✓ test 1: Add the user to the accepted list of both users. ✓ test 2: Add user to the accepted list of both users. ✓ Get the list of Accepted requests. ✓ Get the list of Pending requests. ✓ Check whether the user request is accepted. ✓ Check whether the user request is pending.