public void ChangePasswordTest()
        {
            string  accountName = "!!@#$%^&*()_+-=1234567890qwertyuiop[]\\{}|asdfghjkl;':\"zxcvbnm,./<>?";
            AppUser dbUser      = database.Users.SingleOrDefault(u => u.AccountName == accountName);

            if (dbUser != null)
            {
                database.Users.Remove(dbUser);
                database.SaveChanges();
            }

            AppUser user = new AppUser
            {
                Name        = "张三李四·.",
                AccountName = accountName,
                Email       = "*****@*****.**",
                Mobile      = "18888888888"
            };
            string         password    = "******"zxcvbnm,./<>?";
            string         newPassword = "******"zxcvbnm,./<>?";
            IdentityResult result      = helper.CreateUser(user, password, AppRoleEnum.OrgnizationMember, OrganizationEnum.SEA团队);

            if (!result.Succeeded)
            {
                Assert.Inconclusive("CreateUser方法运行失败,本测试无法运行。");
            }

            var oldPasswordClaims = helper.CreateClaims(accountName, password);

            if (!oldPasswordClaims.IsAuthenticated)
            {
                Assert.Inconclusive("CreateClaims方法运行失败,本测试无法运行。");
            }
            result = helper.ChangePassword(accountName, password, newPassword);
            if (!result.Succeeded)
            {
                Assert.Fail("修改密码失败。");
            }
            var passwordNotChanged = helper.CreateClaims(accountName, password);

            if (passwordNotChanged.IsAuthenticated)
            {
                Assert.Fail("原密码仍能登入");
            }
            var newPasswordClaims = helper.CreateClaims(accountName, newPassword);

            if (!newPasswordClaims.IsAuthenticated)
            {
                Assert.Fail("新密码无法登入。");
            }

            dbUser = database.Users.SingleOrDefault(u => u.AccountName == accountName);
            database.Users.Remove(dbUser);
            database.SaveChanges();
        }