public GetExpenseReportsByDate(GetReportByDateAndType getReportByDateAndType)
 {
     this.getReportByDateAndType = getReportByDateAndType;
 }
示例#2
0
 protected override void Context()
 {
     TestSession = Substitute.For<ISession>();
     TestQuery = Substitute.For<GetReportByDateAndType>();
     Sut = new ReportCache(TestSession, TestQuery);
 }
 protected override void Context()
 {
     Sut = new GetReportByDateAndType();
 }
示例#4
0
 public ReportCache(ISession session, GetReportByDateAndType getReportByDateAndType)
 {
     this.session = session;
     this.getReportByDateAndType = getReportByDateAndType;
 }
 protected override void Context()
 {
     TestSession = Substitute.For<ISession>();
     TestBaseQuery = Substitute.For<GetReportByDateAndType>();
     Sut = new GetExpenseReportsByDate(TestBaseQuery);
 }