public IntegrationResult SuccessfulResult(string previousLabel)
        {
            var result =
                IntegrationResultMother.Create(new IntegrationSummary(IntegrationStatus.Success, previousLabel, previousLabel,
                                                                      DateTime.MinValue));

            result.Status = IntegrationStatus.Success;
            return(result);
        }
 public IntegrationResult FailedResult(string previousLabel, string lastSuccessfulLabel)
 {
     return(IntegrationResultMother.Create(new IntegrationSummary(IntegrationStatus.Failure, previousLabel, lastSuccessfulLabel, DateTime.MinValue)));
 }