public HomeController(IWeeeCache cache, BreadcrumbService breadcrumb, Func <IWeeeClient> client, IMap <AatfDataToHomeViewModelMapTransfer, HomeViewModel> mapper) { this.apiClient = client; this.breadcrumb = breadcrumb; this.cache = cache; this.mapper = mapper; }
public SelectYourPcsController(Func <IWeeeClient> apiclient, BreadcrumbService breadcrumb, IWeeeCache cache, IAddReturnSchemeRequestCreator requestCreator) { this.apiClient = apiclient; this.breadcrumb = breadcrumb; this.cache = cache; this.requestCreator = requestCreator; }
public SubmissionsController(BreadcrumbService breadcrumb, Func <IWeeeClient> client, IWeeeCache cache, CsvWriterFactory csvWriterFactory) { this.breadcrumb = breadcrumb; this.apiClient = client; this.cache = cache; this.csvWriterFactory = csvWriterFactory; }
public ProducersControllerTests() { breadcumbService = A.Fake<BreadcrumbService>(); producerSearcher = A.Fake<ISearcher<ProducerSearchResult>>(); weeeClient = A.Fake<IWeeeClient>(); cache = A.Fake<IWeeeCache>(); }
public SentOnRemoveSiteController(Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IMap <ReturnAndAatfToSentOnRemoveSiteViewModelMapTransfer, SentOnRemoveSiteViewModel> mapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.mapper = mapper; }
public ReturnsController(Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IMapper mapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.mapper = mapper; }
public ManageCacheController( IWeeeCache cache, BreadcrumbService breadcrumb) { this.cache = cache; this.breadcrumb = breadcrumb; }
public SubmissionsController(BreadcrumbService breadcrumb, Func<IWeeeClient> client, IWeeeCache cache, CsvWriterFactory csvWriterFactory) { this.breadcrumb = breadcrumb; this.apiClient = client; this.cache = cache; this.csvWriterFactory = csvWriterFactory; }
public SchemeController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, IMapper mapper) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.mapper = mapper; }
public ProducersController(BreadcrumbService breadcrumb, ISearcher<ProducerSearchResult> producerSearcher, Func<IWeeeClient> apiClient, IWeeeCache cache) { this.breadcrumb = breadcrumb; this.producerSearcher = producerSearcher; this.apiClient = apiClient; this.cache = cache; }
public ReusedOffSiteSummaryListController(Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IMapper mapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.mapper = mapper; }
public HomeController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, ConfigurationService configService) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.csvWriterFactory = csvWriterFactory; this.configurationService = configService; }
public SentOnCreateSiteController(Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IAddSentOnAatfSiteRequestCreator requestCreator, IMap <ReturnAndAatfToSentOnCreateSiteViewModelMapTransfer, SentOnCreateSiteViewModel> mapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.requestCreator = requestCreator; this.mapper = mapper; }
public HomeController(Func <IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, ConfigurationService configService) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.csvWriterFactory = csvWriterFactory; this.configurationService = configService; }
public ObligatedValuesCopyPasteControllerTests() { breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); weeeClient = weeeClient = A.Fake <IWeeeClient>(); controller = new ObligatedValuesCopyPasteController(() => weeeClient, breadcrumb, cache); }
public ObligatedReceivedController(IWeeeCache cache, BreadcrumbService breadcrumb, Func <IWeeeClient> apiClient, IObligatedReceivedWeeeRequestCreator requestCreator, IMap <ReturnToObligatedViewModelMapTransfer, ObligatedViewModel> mapper) { this.apiClient = apiClient; this.requestCreator = requestCreator; this.mapper = mapper; this.breadcrumb = breadcrumb; this.cache = cache; }
public ReusedOffSiteControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); controller = new ReusedOffSiteController(() => weeeClient, breadcrumb, cache); }
public ContactDetailsController(IWeeeCache cache, BreadcrumbService breadcrumb, Func <IWeeeClient> client, IMapper mapper, IEditAatfContactRequestCreator contactRequestCreator) { this.apiClient = client; this.mapper = mapper; this.contactRequestCreator = contactRequestCreator; this.breadcrumb = breadcrumb; this.cache = cache; }
public ReturnToNonObligatedViewModelMapTests() { cache = A.Fake <IWeeeCache>(); categoryMap = A.Fake <IMap <NonObligatedDataToNonObligatedValueMapTransfer, IList <NonObligatedCategoryValue> > >(); calculator = A.Fake <ICategoryValueTotalCalculator>(); pasteProcessor = A.Fake <IPasteProcessor>(); mapper = new ReturnToNonObligatedValuesViewModelMap(cache, categoryMap, calculator, pasteProcessor); }
public ReceivedPcsListControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); mapper = A.Fake <IMap <ReturnAndSchemeDataToReceivedPcsViewModelMapTransfer, ReceivedPcsListViewModel> >(); cache = A.Fake <IWeeeCache>(); controller = new ReceivedPcsListController(() => weeeClient, cache, breadcrumb, mapper); }
public ReusedOffSiteCreateSiteControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); requestCreator = A.Fake <IObligatedReusedSiteRequestCreator>(); mapper = A.Fake <IMap <SiteAddressDataToReusedOffSiteCreateSiteViewModelMapTransfer, ReusedOffSiteCreateSiteViewModel> >(); controller = new ReusedOffSiteCreateSiteController(() => weeeClient, breadcrumb, cache, requestCreator, mapper); }
public SubmittedReturnControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); mapper = A.Fake <IMapper>(); cache = A.Fake <IWeeeCache>(); controller = new SubmittedReturnController(() => weeeClient, cache, breadcrumb, mapper); }
public ReusedOffSiteSummaryListControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); mapper = A.Fake <IMapper>(); controller = new ReusedOffSiteSummaryListController(() => weeeClient, breadcrumb, cache, mapper); }
public ReusedRemoveSiteControllerTests() { this.apiClient = A.Fake <IWeeeClient>(); this.breadcrumb = A.Fake <BreadcrumbService>(); this.cache = A.Fake <IWeeeCache>(); this.mapper = A.Fake <IMap <ReturnAndAatfToReusedRemoveSiteViewModelMapTransfer, ReusedRemoveSiteViewModel> >(); controller = new ReusedRemoveSiteController(() => apiClient, breadcrumb, cache, mapper); }
public SentOnSiteSummaryListControllerTests() { this.apiClient = A.Fake <IWeeeClient>(); this.breadcrumb = A.Fake <BreadcrumbService>(); this.cache = A.Fake <IWeeeCache>(); this.mapper = A.Fake <IMap <ReturnAndAatfToSentOnSummaryListViewModelMapTransfer, SentOnSiteSummaryListViewModel> >(); controller = new SentOnSiteSummaryListController(() => apiClient, breadcrumb, cache, mapper); }
public SentOnCreateSiteControllerTests() { apiClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); requestCreator = A.Fake <IAddSentOnAatfSiteRequestCreator>(); mapper = A.Fake <IMap <ReturnAndAatfToSentOnCreateSiteViewModelMapTransfer, SentOnCreateSiteViewModel> >(); controller = new SentOnCreateSiteController(() => apiClient, breadcrumb, cache, requestCreator, mapper); }
public ReceivedPcsListController(Func <IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, IMap <ReturnAndSchemeDataToReceivedPcsViewModelMapTransfer, ReceivedPcsListViewModel> mapper) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.mapper = mapper; }
public ProducersControllerTests() { breadcumbService = A.Fake <BreadcrumbService>(); producerSearcher = A.Fake <ISearcher <ProducerSearchResult> >(); weeeClient = A.Fake <IWeeeClient>(); cache = A.Fake <IWeeeCache>(); configurationService = A.Fake <ConfigurationService>(); A.CallTo(() => configurationService.CurrentConfiguration.MaximumProducerOrganisationSearchResults).Returns(10); }
public SelectReportOptionsNilControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); mapper = A.Fake <IMap <ReturnDataToSelectReportOptionsNilViewModelMapTransfer, SelectReportOptionsNilViewModel> >(); requestCreator = A.Fake <IDeleteReturnDataRequestCreator>(); controller = new SelectReportOptionsNilController(() => weeeClient, breadcrumb, cache, mapper, requestCreator); }
public SelectYourPcsControllerTests() { weeeClient = A.Fake <IWeeeClient>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); requestCreator = A.Fake <IAddReturnSchemeRequestCreator>(); fixture = new Fixture(); controller = new SelectYourPcsController(() => weeeClient, breadcrumb, cache, requestCreator); }
public AddAatfControllerTests() { fixture = new Fixture(); weeeClient = A.Fake <IWeeeClient>(); countries = A.Dummy <IList <CountryData> >(); breadcrumbService = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); validationWrapper = A.Fake <IFacilityViewModelBaseValidatorWrapper>(); controller = new AddAatfController(() => weeeClient, breadcrumbService, cache, validationWrapper); }
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 ReturnToObligatedViewModelMap(IWeeeCache cache, IMap <ObligatedDataToObligatedValueMapTransfer, IList <ObligatedCategoryValue> > obligatedMap, ICategoryValueTotalCalculator calculator, IPasteProcessor pasteProcessor) { this.cache = cache; this.obligatedMap = obligatedMap; this.calculator = calculator; this.pasteProcessor = pasteProcessor; }
public AddAatfController( Func <IWeeeClient> apiClient, BreadcrumbService breadcrumb, IWeeeCache cache, IFacilityViewModelBaseValidatorWrapper validationWrapper) { this.apiClient = apiClient; this.breadcrumb = breadcrumb; this.cache = cache; this.validationWrapper = validationWrapper; }
public ObligatedReceivedControllerTests() { weeeClient = A.Fake <IWeeeClient>(); requestCreator = A.Fake <IObligatedReceivedWeeeRequestCreator>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); mapper = A.Fake <IMap <ReturnToObligatedViewModelMapTransfer, ObligatedViewModel> >(); calculator = A.Fake <ICategoryValueTotalCalculator>(); controller = new ObligatedReceivedController(cache, breadcrumb, () => weeeClient, requestCreator, mapper); }
public MemberRegistrationController( Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, IMapper mapper) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.csvWriterFactory = csvWriterFactory; this.mapper = mapper; }
public DataReturnsController( Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, IMapper mapper, ConfigurationService configService) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.csvWriterFactory = csvWriterFactory; this.mapper = mapper; this.configService = configService; }
public UserController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; }
public HomeController(BreadcrumbService breadcrumb, IWeeeCache cache) { this.breadcrumb = breadcrumb; this.cache = cache; }
public FakeDataReturnsController( IWeeeClient apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, IMapper mapper, ConfigurationService configurationService) : base(() => apiClient, cache, breadcrumb, csvWriterFactory, mapper, configurationService) { ApiClient = apiClient; }
public FakeMemberRegistrationController( IWeeeClient apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, IMapper mapper) : base(() => apiClient, cache, breadcrumb, csvWriterFactory, mapper) { ApiClient = apiClient; }