public void RunStep(DateTime cleardate, ClearStepInfo step)
 {
     try
     {
         ClearConfigManagerMock.RunStep(step);
         Run(cleardate);
         ClearConfigManagerMock.FinishStep(step);
     }
     catch (Exception ex)
     {
         ClearConfigManagerMock.ErrorStep(step);
         throw ex;
     }
 }
 public void RunStep(DateTime cleardate, ClearStepInfo step, OutputEvent func)
 {
     RegisterOutput(func);
     try
     {
         ClearConfigManagerMock.RunStep(step);
         Run(cleardate);
         ClearConfigManagerMock.FinishStep(step);
     }
     catch (Exception ex)
     {
         ClearConfigManagerMock.ErrorStep(step);
         throw ex;
     }
 }