public bool Reset(ISuperImportantBusinessTool bt) { try { bt.Stop(); bt.OtherReallyReallyImportantStuff(15); bt.Start(); return(true); } catch { return(false); } }
public static bool Reset(this ISuperImportantBusinessTool bt, int Timing) { // We do nothing with Timing try { bt.Stop(); bt.OtherReallyReallyImportantStuff(Timing); bt.Start(); return(true); } catch { return(false); } }
public BusinessProcessStart(ISuperImportantBusinessTool bt) { this.bt = bt; }
public BusinessProcessStart(ISuperImportantBusinessTool bt, ILogger logger) { this.bt = bt; _logger = logger; }
public void SetUp() { _logger = new Mock <ILogger>().Object; _businessTool = new SuperImportantBusinessTool(); }
public static bool Reset(this ISuperImportantBusinessTool bt) { return(Implementation.Reset(bt)); }