public void GivenRefreshTokenPostMethod_WhenReceivesCorrectQuery_ThenShouldCallGetPrincipalFromExpiredToken()
        {
            var refreshTokenQuery = new RefreshTokenQuery
            {
                RefreshToken = "10101010",
                Token        = "2020202",
                Email        = "*****@*****.**"
            };

            var authenticationController = new AuthenticationController(_mockMediator, _mockTokenHandler);

            authenticationController.Refresh(refreshTokenQuery);

            _mockTokenHandler.Received().GetPrincipalFromExpiredToken(Arg.Any <string>());
        }