public SolutionValidationFailureReason(SolutionValidationFailureReasons reason, string message) { Reason = reason; Message = message; }
public static void ShouldContainFailureReason(SolutionValidationFailureReasons reason) { exception.FailureReasons.Select(x => x.Reason).ShouldContain(reason); }