public void Test_IsStringValide_stringToLong()
        {
            //Arrange
            string
                shortString = "this string is supposed to be way to long";
            int
                minLength = 1,
                maxLength = 10;

            //Act
            bool testResult = PropretyValidation.IsStringValide(shortString, minLength, maxLength);

            //Assert
            Assert.IsFalse(testResult);
        }
        public void Test_IsStringValide_stringGoodLength()
        {
            //Arrange
            string
                shortString = "this is the right length.";
            int
                minLength = 25,
                maxLength = 25;

            //Act
            bool testResult = PropretyValidation.IsStringValide(shortString, minLength, maxLength);

            //Assert
            Assert.IsTrue(testResult);
        }
        public void Test_IsStringValide_stringToshort()
        {
            //Arrange
            string
                shortString = "short";
            int
                minLength = 10,
                maxLength = 100;

            //Act
            bool testResult = PropretyValidation.IsStringValide(shortString, minLength, maxLength);

            //Assert
            Assert.IsFalse(testResult);
        }
        public void Test_IsStringValideRegEx_valideRegEx()
        {
            //Arrange
            string
                testedString1 = "4188959871",
                testedString2 = "*****@*****.**",
                regEx1        = "[0-9]{10}",
                regEx2        = "^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$";
            int
                minLength = 1,
                maxLength = 100;

            //Act
            bool testResult1 = PropretyValidation.IsStringValide(testedString1, minLength, maxLength, regEx1);
            bool testResult2 = PropretyValidation.IsStringValide(testedString2, minLength, maxLength, regEx2);

            //Assert
            Assert.IsTrue(testResult1, "test 1 failed");
            Assert.IsTrue(testResult2, "test 2 failed");
        }
        public void Test_IsStringValideRegEx_failedRegEx()
        {
            //Arrange
            string
                testedString1 = "418-895-9871",
                testedString2 = "this is normal the regEx is incorrect",
                regEx1        = "[0-9]{10}",
                regEx2        = "{[][ds...}";
            int
                minLength = 1,
                maxLength = 100;

            //Act
            bool testResult1 = PropretyValidation.IsStringValide(testedString1, minLength, maxLength, regEx1);
            bool testResult2 = PropretyValidation.IsStringValide(testedString2, minLength, maxLength, regEx2);

            //Assert
            Assert.IsFalse(testResult1, "test 1 failed");
            Assert.IsFalse(testResult2, "test 2 failed");
        }