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