Example #1
0
        public void SetUp()
        {
            this.BuildPlanDetailsLineRepository = Substitute.For <IQueryRepository <BuildPlanDetailsReportLine> >();
            this.LinnWeekRepository             = Substitute.For <ILinnWeekRepository>();
            this.LinnWeekService = new LinnWeekService(this.LinnWeekRepository);
            this.ReportingHelper = new ReportingHelper();

            this.Sut = new BuildPlansReportService(
                this.BuildPlanDetailsLineRepository,
                this.LinnWeekService,
                this.ReportingHelper);
        }
Example #2
0
 public LinnWeekService(ILinnWeekRepository linnWeekRepository)
 {
     this.linnWeekRepository = linnWeekRepository;
 }
Example #3
0
 public void SetUpContext()
 {
     this.LinnWeekRepository = Substitute.For <ILinnWeekRepository>();
     this.Sut = new LinnWeekService(this.LinnWeekRepository);
 }