Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public CheckFailed(FailedExpectation fail, Exception innerException)
     : this(new[] {fail}, innerException)
 {
 }
Exemplo n.º 3
0
 public CheckFailed(string context, FailedExpectation fail, Exception innerException)
     : this(context, new[] { fail }, innerException)
 {
 }