Beispiel #1
0
 public CheckFailed(string context, FailedExpectation[] fails, Exception innerException)
     : base(fails.Select(x => x.Message).Join("\n"), innerException)
 {
     this.Context = context;
     this.Failures = fails;
 }
Beispiel #2
0
 public CheckFailed(FailedExpectation fail, Exception innerException)
     : this(new[] {fail}, innerException)
 {
 }
Beispiel #3
0
 public CheckFailed(string context, FailedExpectation fail, Exception innerException)
     : this(context, new[] { fail }, innerException)
 {
 }