public async void GetFriendsRequestsRoute_Test()
        {
            // Arrange
            var user    = CreatePerson();
            var friend1 = CreatePerson();
            var friend2 = CreatePerson();

            var listOfFriends = new List <Person>()
            {
                friend1,
                friend2
            };

            _personRepository
            .Setup(x => x.Single(It.IsAny <Expression <Func <Person, bool> > >()))
            .ReturnsAsync(user);

            _friendRepository
            .Setup(x =>
                   x.GetRequestedFriends(
                       It.IsAny <Person>(),
                       It.IsAny <FriendsWith>()))
            .ReturnsAsync(listOfFriends);

            var personController = new PersonController(_personRepository.Object, _mapper, _emailHelper.Object, _tokenClass.Object);
            var friendController = new FriendController(_personRepository.Object, _friendRepository.Object, _mapper);


            // Act
            var result = await friendController.GetRequestedFriends(user.Name);

            var okResult = result as OkObjectResult;
            var returnedRequestedFriendsJSON = okResult.Value as string;
            var returnedRequestedFriends     = JsonSerializer.Deserialize <List <Person> >(returnedRequestedFriendsJSON);

            // Assert
            Assert.True(okResult != null);
            Assert.Equal(200, okResult.StatusCode);
            Assert.True(returnedRequestedFriends.Count == listOfFriends.Count);
        }