public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, Object providerUserKey, out MembershipCreateStatus status)
        {
            MockMembershipUser user = new MockMembershipUser();

            if (username.Equals("someUser") && password.Equals("goodPass") && email.Equals("email"))
            {
                status = MembershipCreateStatus.Success;
            }
            else
            {
                // the 'email' parameter contains the status we want to return to the user
                status = (MembershipCreateStatus)Enum.Parse(typeof(MembershipCreateStatus), email);
            }

            return(user);
        }
        public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, Object providerUserKey, out MembershipCreateStatus status)
        {
            MockMembershipUser user = new MockMembershipUser();

            if (username.Equals("someUser") && password.Equals("goodPass") && email.Equals("email"))
            {
                status = MembershipCreateStatus.Success;
            }
            else
            {
                // the 'email' parameter contains the status we want to return to the user
                status = (MembershipCreateStatus)Enum.Parse(typeof(MembershipCreateStatus), email);
            }

            return user;
        }