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