public void should_validate()
            {
                var payload = new Boo {
                    Num = 13, Str = "this"
                };

                var validator = new BooValidator();

                ValidationResult result = validator.Validate(new Message <Boo>("label".ToMessageLabel(), payload));

                result.IsValid.Should().
                BeTrue();
            }
            public void should_validate()
            {
                var payload = new Boo {
                    Num = 13, Str = string.Empty
                };

                var validator = new BooValidator();

                ValidationResult result = validator.Validate(new Message <Boo>("label".ToMessageLabel(), payload));

                result.IsValid.Should().
                BeFalse();
                result.BrokenRules.Should().
                HaveCount(1);
                result.BrokenRules.First().
                Description.Should().
                Contain("Str");
            }