public void CheckAndSendPasswordPopUpTest()
        {
            UserInfoManager target = new UserInfoManager(); // TODO: Initialize to an appropriate value
            GenralUserInfo _objGenralUserInfo = new GenralUserInfo(); // TODO: Initialize to an appropriate value
            UserInfo objUserInfo = new UserInfo();

            objUserInfo.UserEmail = "*****@*****.**";
            _objGenralUserInfo.RecentUsers = objUserInfo;

            bool _Reset = false; // TODO: Initialize to an appropriate value
            target.CheckAndSendPassword(_objGenralUserInfo, _Reset);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
    protected void popuplbtnSendemail_Click(object sender, EventArgs e)
    {
        GenralUserInfo objGenralUserInfo = new GenralUserInfo();
        UserInfo objUserInfo = new UserInfo();
        objUserInfo.UserEmail = txtLoginEmail1.Text;
        objGenralUserInfo.RecentUsers = objUserInfo;
        UserInfoManager objuse = new UserInfoManager();
        objuse.CheckAndSendPassword(objGenralUserInfo, false);
        if (objGenralUserInfo.CustomError != null)
        {
            string ErrorMsg = objGenralUserInfo.CustomError.ErrorMessage.ToString();
            if (ErrorMsg != "")
            {
                ScriptManager.RegisterClientScriptBlock(Page, GetType(), "HidePanel", "setForgotPassword_();", true);

            }
        }
        else
        {
            txtLoginEmail1.Text = string.Empty;

            StringBuilder strb = new StringBuilder();
            strb.Append("parent.modalClose_();");
            ScriptManager.RegisterClientScriptBlock(Page, GetType(), "HidePanel", strb.ToString(), true);
        }
    }
        public void CheckAndSendPasswordTest()
        {
            UserInfoManager target = new UserInfoManager(); // TODO: Initialize to an appropriate value
            GenralUserInfo _objGenralUserInfo = new GenralUserInfo(); // TODO: Initialize to an appropriate value
            _objGenralUserInfo.RecentUsers = new UserInfo();
            _objGenralUserInfo.RecentUsers.UserEmail = "*****@*****.**";
            _objGenralUserInfo.RecentUsers.UserPassword = "******";
            _objGenralUserInfo.RecentUsers.UserName = "******";

            bool _Reset = true; // TODO: Initialize to an appropriate value
            target.CheckAndSendPassword(_objGenralUserInfo, _Reset);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }