public void OneToOneValid()
 {
     IClassValidator vtor = GetClassValidator(typeof(Blog));
     Blog b = new Blog();
     b.Author = new Author();
     vtor.GetInvalidValues(b).Should().Have.Count.EqualTo(2);
 }
 public void OneToOneValid()
 {
     IClassValidator vtor = GetClassValidator(typeof(Blog));
     Blog b = new Blog();
     b.Author = new Author();
     InvalidValue[] values = vtor.GetInvalidValues(b);
     Assert.AreEqual(2, values.Length);
 }