public DemandController( ILogger <DemandController> logger, IResourceDemandQueryService resourceDemandQueryService, IResourceDemandInputValidatorService resourceDemandInputValidatorService, IResourceDemandUpdateService resourceDemandUpdateService, IMailInputValidatorService mailInputValidatorService, IMailService mailService, IConfigurationService configurationService ) { _logger = logger; _resourceDemandQueryService = resourceDemandQueryService; _resourceDemandInputValidatorService = resourceDemandInputValidatorService; _resourceDemandUpdateService = resourceDemandUpdateService; _mailInputValidatorService = mailInputValidatorService; _mailService = mailService; _configurationService = configurationService; _adminKey = Environment.GetEnvironmentVariable("PIRAT_ADMIN_KEY"); _languageDE = configurationService.GetConfigForRegion("de").Languages["de"]; _languageEN = configurationService.GetConfigForRegion("de").Languages["en"]; }
public ResourceDemandInputValidatorTest() { _service = new ResourceDemandInputValidatorService(); _captainHookGenerator = new CaptainHookGenerator(); }