public SelectReportOptionsDeselectControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); requestCreator = A.Fake <IAddSelectReportOptionsRequestCreator>(); mapper = A.Fake <IMap <SelectReportOptionsViewModel, SelectReportOptionsDeselectViewModel> >(); fixture = new Fixture(); controller = new SelectReportOptionsDeselectController(() => weeeClient, breadcrumb, cache, requestCreator, mapper); }
public SelectReportOptionsController( Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IAddSelectReportOptionsRequestCreator requestCreator, IMap <ReportOptionsToSelectReportOptionsViewModelMapTransfer, SelectReportOptionsViewModel> mapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.requestCreator = requestCreator; this.mapper = mapper; }