public void VerifyCollectionOfInt32ValidateNotEmpty()
        {
            var rng = new OwnCollectionOfBasicElement() { List = new List<Int32>(), Property = "TEST" };
            var v = new Core.Validator();

            var res = v.ValidateObject(rng, ValidationFlags.RecursiveValidation);
            Assert.IsFalse(res);
        }
        public void VerifyCollectionOfInt32DoesNotValidateInnerInteger()
        {
            var rng = new OwnCollectionOfBasicElement() { List = new List<Int32>(), Property = "TEST" };
            rng.List.Add(11);
            rng.List.Add(12);
            var v = new Core.Validator();

            var res = v.ValidateObject(rng, ValidationFlags.RecursiveValidation);
            Assert.IsTrue(res);
        }
        public void VerifyCollectionOfInt32ValidateNotEmpty()
        {
            var rng = new OwnCollectionOfBasicElement()
            {
                List = new List <Int32>(), Property = "TEST"
            };
            var v = new Core.Validator();

            var res = v.ValidateObject(rng, ValidationFlags.RecursiveValidation);

            Assert.IsFalse(res);
        }
        public void VerifyCollectionOfInt32DoesNotValidateInnerInteger()
        {
            var rng = new OwnCollectionOfBasicElement()
            {
                List = new List <Int32>(), Property = "TEST"
            };

            rng.List.Add(11);
            rng.List.Add(12);
            var v = new Core.Validator();

            var res = v.ValidateObject(rng, ValidationFlags.RecursiveValidation);

            Assert.IsTrue(res);
        }