public void HasBrokenRule_returns_true_when_broken_rule_with_given_name_exists_even_if_it_is_nested()
        {
            var result = new StubComplexObjectWithValidation().Validate();

            Assert.True(result.HasBrokenRule("IntProperty"));
            Assert.True(result.HasBrokenRule("StringProperty"));
        }
        public void HasBrokenRule_returns_true_when_broken_rule_with_given_name_exists()
        {
            var result = new StubComplexObjectWithValidation().Validate();

            Assert.True(result.HasBrokenRule("StubObject"));
            Assert.True(result.HasBrokenRule("StubObjects"));
        }