Exemplo n.º 1
0
 public void WhenValidateAllIsCalled_Then_AggregateExceptionContainingAllValidateExceptionsIsThrown()
 {
     Assert.Throws <AggregateException>(() => ValidatorUtil.ValidateAll(subject));
 }
Exemplo n.º 2
0
 public void WhenValidateAllIsCalled_Then_NoErrorOccurs()
 {
     ValidatorUtil.ValidateAll(subject);
 }