Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public LinnWeekService(ILinnWeekRepository linnWeekRepository)
 {
     this.linnWeekRepository = linnWeekRepository;
 }
Exemplo n.º 3
0
 public void SetUpContext()
 {
     this.LinnWeekRepository = Substitute.For <ILinnWeekRepository>();
     this.Sut = new LinnWeekService(this.LinnWeekRepository);
 }