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);
        }
 public void ValidateUserTest()
 {
     ColorettoMembershipProvider target = new ColorettoMembershipProvider(); // TODO: Initialize to an appropriate value
     string username = string.Empty; // TODO: Initialize to an appropriate value
     string password = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.ValidateUser(username, password);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
        public void ValidateUserTest()
        {
            ColorettoMembershipProvider target = new ColorettoMembershipProvider();

            string username = "******";
            string password = "******";
            bool expected = true;
            bool actual = target.ValidateUser(username, password);
            Assert.AreEqual(expected, actual);
        }