public void givenEmailId_whenNotHaveMandetoryField_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.EmailId_Analysis("*****@*****.**"));
        }
        public void givenMobileNumber_whenNotHaveMandetoryField_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.mobileNumber_Analysis("91 77503972"));
        }
        public void GivenFirstName_WhenNull_ShouldThrowException()
        {
            UserRegistrationAnalysis validator = new UserRegistrationAnalysis();

            Assert.AreEqual(false, validator.firstName_CapitalFirstLatter_Analysis(null));
        }
        public void givenFirstName_whenFirstLetterCapital_shouldReturnTrue()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(true, useranalysis.firstName_CapitalFirstLatter_Analysis("Vishal"));
        }
        public void givenLastName_whenFirstLetterNotCapital_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.LastName_CapitalFirstLatter_Analysis("wamankar"));
        }
        public void givenLastName_whenLetterMoreThree_shouldReturnTrue()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(true, useranalysis.LastName_CapitalFirstLatter_Analysis("Wamankar"));
        }
        public void givenEmail_whenHaveAll_shouldReturnTrue()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(true, useranalysis.EmailA_Analysis("*****@*****.**"));
        }
        public void GivenEmailId_WhenNull_ShouldThrowException()
        {
            UserRegistrationAnalysis validator = new UserRegistrationAnalysis();

            Assert.AreEqual(false, validator.EmailA_Analysis(null));
        }
        public void givenPassword_whenNotHaveAtLeastOneNumber_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.passwordHaveAtLeastOneNumber_Analysis("Vishalwamaka"));
        }
        public void givenPassword_whenNotHaveAtLeastOneSpecial_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.passwordHaveAtLeastOneSpecial_Analysis("rahul987"));
        }
        public void givenPassword_whenHaveAtLeastOneNumber_shouldReturnTrue()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(true, useranalysis.passwordHaveAtLeastOneNumber_Analysis("Vishal123"));
        }
        public void givenFirstName_whenPassingNull_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.firstName_CapitalFirstLatter_Analysis(null));
        }
        public void givenPassword_whenNotHaveAtLeastOneUpperCase_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.passwordHaveAtLeastOneUC_Analysis("vishalwaman"));
        }
        public void givenPassword_whenNotHaveMandetoryField_shouldReturnFalse()
        {
            UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis();

            Assert.AreEqual(false, useranalysis.password_Analysis("rahul"));
        }
        public void GivenMobileNumber_WhenNull_ShouldThrowException()
        {
            UserRegistrationAnalysis validator = new UserRegistrationAnalysis();

            Assert.AreEqual(false, validator.mobileNumber_Analysis(null));
        }