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;
 }
コード例 #2
0
 public void CreateStubs()
 {
     command = Substitute.For <IConfirmationReportCommandService>();
     query   = Substitute.For <IConfirmationReportQueryService>();
 }