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; }