public AccountTests() { accountReadOnlyRepository = Substitute.For <IAccountReadOnlyRepository>(); accountWriteOnlyRepository = Substitute.For <IAccountWriteOnlyRepository>(); customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); }
public DeleteCustomerService( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public GetCustomerDetailsUseCase( ICustomerReadOnlyRepository customerReadOnlyRepository, IAccountReadOnlyRepository accountReadOnlyRepository) { _customerReadOnlyRepository = customerReadOnlyRepository; _accountReadOnlyRepository = accountReadOnlyRepository; }
public DeleteCustomerCommandHandler(IUnitOfWork uow, ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerRepository customerRepository) : base(uow) { _uow = uow; _customerReadOnlyRepository = customerReadOnlyRepository; _customerRepository = customerRepository; }
public UpdateCustomerCommandHandler(IUnitOfWork uow, ICustomerRepository customerRepository, ICustomerReadOnlyRepository customerReadOnlyRepository, IMapper mapper) : base(uow) { _uow = uow; _customerRepository = customerRepository; _customerReadOnlyRepository = customerReadOnlyRepository; _mapper = mapper; }
public PlaceOrderUseCase( ICustomerReadOnlyRepository customerReadOnlyRepository, IOrderWriteRepository orderWriteOnlyRepository, IKafkaProducer kafkaProducer) { _customerReadOnlyRepository = customerReadOnlyRepository; _orderWriteOnlyRepository = orderWriteOnlyRepository; _kafkaProducer = kafkaProducer; }
public GetAccountDetailsInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IOutputBoundary <AccountResponse> outputBoundary, IResponseConverter responseConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.outputBoundary = outputBoundary; this.responseConverter = responseConverter; }
public CustomerTests() { accountReadOnlyRepository = Substitute.For <IAccountReadOnlyRepository>(); accountWriteOnlyRepository = Substitute.For <IAccountWriteOnlyRepository>(); customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new OutputConverter(); }
public GetCustomerService( ICustomerReadOnlyRepository customerReadOnlyRepository, IResultConverter resultConverter, ICustomersQueries customersQueries) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.resultConverter = resultConverter; this.customersQueries = customersQueries; }
public CloseService( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository, IResultConverter resultConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.resultConverter = resultConverter; }
public UpdateScheduleService( IScheduleWriteOnlyRepository scheduleWriteOnlyRepository, IResultConverter resultConverter, ICustomerReadOnlyRepository customerReadOnlyRepository, IServiceReadOnlyRepository serviceReadOnlyRepository) { this.scheduleWriteOnlyRepository = scheduleWriteOnlyRepository; this.resultConverter = resultConverter; this.customerReadOnlyRepository = customerReadOnlyRepository; this.serviceReadOnlyRepository = serviceReadOnlyRepository; }
public AddBasketInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IBasketWriteOnlyRepository basketWriteOnlyRepository, IOutputBoundary <AddBasketOutput> outputBoundary, IOutputConverter outputConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.basketWriteOnlyRepository = basketWriteOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public CheckoutInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IBasketReadOnlyRepository basketReadOnlyRepository, IOutputBoundary <CheckoutOutput> outputBoundary, IOutputConverter outputConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.basketReadOnlyRepository = basketReadOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public GetCustomerDetailsInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IAccountReadOnlyRepository accountReadOnlyRepository, IOutputBoundary <CustomerOutput> outputBoundary, IOutputConverter outputConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.accountReadOnlyRepository = accountReadOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public DepositInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository, IOutputBoundary <DepositResponse> outputBoundary, IResponseConverter responseConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; this.outputBoundary = outputBoundary; this.responseConverter = responseConverter; }
public GetCustomerDetailsInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IOrderReadOnlyRepository orderReadOnlyRepository, IBasketReadOnlyRepository basketReadOnlyRepository, IOutputBoundary <CustomerOutput> outputBoundary, IOutputConverter outputConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.orderReadOnlyRepository = orderReadOnlyRepository; this.basketReadOnlyRepository = basketReadOnlyRepository; this.outputBoundary = outputBoundary; this.outputConverter = outputConverter; }
public RegisterInteractor( ICustomerReadOnlyRepository customerReadOnlyRepository, IAccountReadOnlyRepository accountReadOnlyRepository, IPublisher bus, IOutputBoundary <RegisterOutput> outputBoundary, IOutputConverter responseConverter) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.accountReadOnlyRepository = accountReadOnlyRepository; this.bus = bus; this.outputBoundary = outputBoundary; this.responseConverter = responseConverter; }
public GetCustomerByIdQueryHandler(IMapper mapper, ICustomerReadOnlyRepository customerReadOnlyRepository) { _mapper = mapper; _customerReadOnlyRepository = customerReadOnlyRepository; }
public CustomerGetAllUseCase(ICustomerReadOnlyRepository customerReadOnlyRepository, IOutputPort output) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.output = output; }
public CustomerGetAllUse(ICustomerReadOnlyRepository customerReadOnlyRepository) { this.customerReadOnlyRepository = customerReadOnlyRepository; }
public void TestInitialize() { _mapper = IMapper; _customerReadOnlyRepository = new CustomerFakeRepository(); }
public CustomerTests() { customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new ResultConverter(); }
public CustomerRepositoryTest(ICustomerReadOnlyRepository customerReadOnlyRepository, ICustomerWriteOnlyRepository customerWriteOnlyRepository) { this.customerReadOnlyRepository = customerReadOnlyRepository; this.customerWriteOnlyRepository = customerWriteOnlyRepository; }
public CustomerGetUseCase(IOutputPort output, ICustomerReadOnlyRepository customerReadOnlyRepository) { this.output = output; this.customerReadOnlyRepository = customerReadOnlyRepository; }
public AccountTests() { customerReadOnlyRepository = Substitute.For <ICustomerReadOnlyRepository>(); customerWriteOnlyRepository = Substitute.For <ICustomerWriteOnlyRepository>(); converter = new ResponseConverter(); }