public BillAppService(IOptionsSnapshot <RootConfigurations> rootConfiguration, IBillingProxy billingProxy, INotificationAppService notificationAppService, IBillCommand billCommands, IBillQueries billQueries, IIDMAppService idmAppService, ILogger <BillAppService> logger, IBillArchiveCommand billArchiveCommands) { _billProxy = billingProxy; _billCommands = billCommands; _billArchiveCommands = billArchiveCommands; _billQueries = billQueries; _notificationAppService = notificationAppService; _idmAppService = idmAppService; RootConfigurations _rootConfiguration = rootConfiguration.Value; _billRefIdForBillingForSaddad = _rootConfiguration.EsbSettingsConfiguration.BillRefIdForBillingForSaddad; _billAgencyCodeForSaddad = _rootConfiguration.EsbSettingsConfiguration.BillAgencyCodeForSaddad; _billAgencyJebayaIdentifierForSaddad = _rootConfiguration.EsbSettingsConfiguration.BillAgencyCodeentifierForSaddad; _clientKey = _rootConfiguration.BillingConfiguration.ClientKey; _benAgencyCodeForInvitations = _rootConfiguration.EsbSettingsConfiguration.BenAgencyCodeForInvitations; _benAgencyCodeForConditionsBooklet = _rootConfiguration.EsbSettingsConfiguration.BenAgencyCodeForConditionsBooklet; _gFSCODEForConditionalBooklet = _rootConfiguration.BillingConfiguration.GFSCODEForConditionalBooklet; _gFSCODEForInvitations = _rootConfiguration.BillingConfiguration.GFSCODEForInvitations; _gFSCODEForAddedValue = _rootConfiguration.BillingConfiguration.GFSCODEForAddedValue; _logger = logger; }
public BillQueriesServiceTest() { _moqBillQueries = new Mock <IBillQueries>(); _sut = new BillQueries(InitialData.context); }