public CourseSearchResultsControllerTests()
 {
     asyncHelper = new AsyncHelper();
     fakeCourseSearchViewModelService = A.Fake <ICourseSearchViewModelService>(ops => ops.Strict());
     fakeBuildQueryStringService      = A.Fake <IBuildQueryStringService>(ops => ops.Strict());
     fakeCourseSearchService          = A.Fake <ICourseSearchService>(ops => ops.Strict());
     fakeApplicationLogger            = A.Fake <IApplicationLogger>(ops => ops.Strict());
     SetupCalls();
 }
 public CourseSearchResultsController(
     IApplicationLogger applicationLogger,
     ICourseSearchService courseSearchService,
     IAsyncHelper asyncHelper,
     ICourseSearchViewModelService courseSearchViewModelService,
     IBuildQueryStringService buildQueryStringService)
     : base(applicationLogger)
 {
     this.courseSearchService          = courseSearchService;
     this.asyncHelper                  = asyncHelper;
     this.courseSearchViewModelService = courseSearchViewModelService;
     this.buildQueryStringService      = buildQueryStringService;
 }
Beispiel #3
0
 public CourseLandingControllerTests()
 {
     fakeApplicationLogger       = A.Fake <IApplicationLogger>(ops => ops.Strict());
     fakeBuildQueryStringService = A.Fake <IBuildQueryStringService>(ops => ops.Strict());
 }
Beispiel #4
0
 public CourseLandingController(IApplicationLogger loggingService, IBuildQueryStringService buildQueryStringService) : base(loggingService)
 {
     this.buildQueryStringService = buildQueryStringService;
 }