public Type Can_Determine_Sender(ReportSendMethod method) { var factory = new SenderFactory(new ExceptionReportInfo { SendMethod = method }, new Mock <IReportSendEvent>().Object); return(factory.Get().GetType()); }
public bool Can_Determine_ShowEmailButton(ReportSendMethod method, bool show) { _info.SendMethod = method; _info.ShowEmailButton = show; return(_info.ShowEmailButton); }
public bool Can_Determine_IsSimpleMAPI(ReportSendMethod method) { _info.SendMethod = method; return(_info.IsSimpleMAPI()); }