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