public ConfirmationReportWorker(IConfirmationReportCommandService command, IConfirmationReportQueryService query) { Contract.Requires <ArgumentNullException>(command != null, "IConfirmationReportCommandService command"); Contract.Requires <ArgumentNullException>(query != null, "IConfirmationReportQueryService query"); this.command = command; this.query = query; }
public void CreateStubs() { command = Substitute.For <IConfirmationReportCommandService>(); query = Substitute.For <IConfirmationReportQueryService>(); }