public GetExpenseReportsByDate(GetReportByDateAndType getReportByDateAndType)
 {
     this.getReportByDateAndType = getReportByDateAndType;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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);
 }