Example #1
0
 public CreditorController(
     ICreditorServiceGateway creditorServiceGateway,
     IIntegrationGateway integrationGateway,
     IAddressLookupGateway addressLookupService,
     IHttpContextAccessor httpContextAccessor,
     CountryList countryList,
     ILogger <CreditorController> logger
     ) : base()
 {
     _creditorServiceGateway = creditorServiceGateway;
     _integrationGateway     = integrationGateway;
     _addressLookupService   = addressLookupService;
     _countryList            = countryList;
     _logger = logger;
 }
        public CreditorAddressSubmitTest()
        {
            _mockApiClient = new Mock <IApiClient>();

            _integrationGateway = new IntegrationGateway(_mockApiClient.Object);
        }