public void TestTelInvalid()
        {
            //Arrange
            string[] array = { "abcdefg", "123456778" };

            bool expected = true;

            //Act
            ICustomValidation format = new TelephoneFormatValidation();
            bool result = true;

            foreach (var value in array)
            {
                if (format.Validate(value))
                {
                    result = false;
                    break;
                }
            }


            //Assert
            Assert.AreEqual(expected, result);
        }
        public void TestTelValid()
        {
            //Arrange
            string[] array = { "02-2550-9196", "(02)25509196", "0225509196", "02-25509196", "(02)2550-9196" };

            bool expected = true;

            //Act
            ICustomValidation format = new TelephoneFormatValidation();
            bool result = true;

            foreach (var value in array)
            {
                if (!format.Validate(value))
                {
                    result = false;
                    break;
                }
            }


            //Assert
            Assert.AreEqual(expected, result);
        }