public void TheNewBranchingOperationReportsErrors()
 {
     using (var process = new BranchingOperationProcess <BranchingOperation>())
     {
         process.Execute();
         var errors = process.GetAllErrors().Count();
         Assert.NotEqual(0, errors);
     }
 }
 public void TheOldBranchingOperationDoesNotReportErrors()
 {
     using (var process = new BranchingOperationProcess <BranchingOperationWithBug>())
     {
         process.Execute();
         var errors = process.GetAllErrors().Count();
         Assert.Equal(0, errors);
     }
 }