public async void Test_GivenAUser_WhenSetEmail_ThenResponseIsNotAltered()
        {
            userStoreMock.Setup(mock => mock.SetEmailAsync(It.IsAny <CognitoUser>(), It.IsAny <string>(), It.IsAny <CancellationToken>())).Returns(Task.FromResult(0)).Verifiable();
            userStoreMock.Setup(mock => mock.UpdateAsync(It.IsAny <CognitoUser>(), It.IsAny <CancellationToken>())).Returns(Task.FromResult(IdentityResult.Success)).Verifiable();
            var output = await userManager.SetEmailAsync(GetCognitoUser(), "*****@*****.**").ConfigureAwait(false);

            Assert.Equal(IdentityResult.Success, output);
            userStoreMock.Verify();
        }