public void Process_ReportWithoutCaseNumber() { var report = _report; var isNumberControlProcessor = _numberControlProcessor.Process(report); isNumberControlProcessor.Should().BeTrue(); }
/// <summary> /// Process Number Control for a Report. /// </summary> private bool ProcessNumberControl(Report report, bool makeSupplement) { if (makeSupplement) //explicitly defined to make the report supplement { report.MakeSupplement(); } //will not detect supplement CheckDuplicateReport(report); var result = _numberControlProcessor.Process(report); // Commit any Changes UnitOfWork.Commit(); return(result); }