Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void WeAreAbleToTransformManyValidateResultsIntoAggregateException() { var errors = new[] {new ValidationResult("super error"), new ValidationResult("Fancy error")}; var exception = errors.ToAggregateException(); Assert.IsInstanceOfType(exception, typeof(AggregateException)); Assert.AreEqual(2, exception.InnerExceptions.Count); }