public void ChangePasswordTest()
 {
     ColorettoMembershipProvider target = new ColorettoMembershipProvider(); // TODO: Initialize to an appropriate value
     string username = string.Empty; // TODO: Initialize to an appropriate value
     string oldPassword = string.Empty; // TODO: Initialize to an appropriate value
     string newPassword = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.ChangePassword(username, oldPassword, newPassword);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
        public void ChangePasswordTest()
        {
            ColorettoMembershipProvider target = new ColorettoMembershipProvider();
            string username = "******";
            string oldPassword = "******";

            MembershipCreateStatus status = MembershipCreateStatus.Success;
            Assert.IsNotNull(target.CreateUser(username, oldPassword, username, null, null, true, username, out status), "Unable to create test user.");
            Assert.IsTrue(target.ValidateUser(username, oldPassword));

            string newPassword = "******";
            bool actual = target.ChangePassword(username, oldPassword, newPassword);
            bool isValid = target.ValidateUser(username, newPassword);

            Assert.IsTrue(target.DeleteUser(username, true), "Unable to cleaup test.");

            Assert.IsTrue(actual);
            Assert.IsTrue(isValid);
        }