protected virtual bool ValidateForExitTrueNew(bool test, AutomationExitCode exitCode, string formattedString)
 {
     if (test)
     {
         ExitCode     = exitCode;
         ErrorMessage = string.Format("Exit Code {0}: {1}", (int)exitCode, formattedString);
     }
     return(test);
 }
 protected virtual bool ValidateForExitTrue(bool test, AutomationExitCode exitCode, string formattedString)
 {
     if (test)
     {
         ExitCode     = exitCode;
         ErrorMessage = formattedString;
     }
     return(test);
 }