internal PaymentServiceFactory(IPaymentsRepository paymentsRepository, IInvoiceTransactionRepository invoiceTransactionRepository, IAgencyRepository agencyRepository, ICandidateRepository candidateRepository, IApplicationSettingsWrapper applicationWrapper) { _paymentsRepository = paymentsRepository; _invoiceTransactionRepository = invoiceTransactionRepository; _agencyRepository = agencyRepository; _candidateRepository = candidateRepository; _applicationWrapper = applicationWrapper; }
internal SupplierPaymentService(IInvoiceTransactionRepository invoiceTransactionRepository, ICandidateRepository candidateRepository) { _invoiceTransactionRepository = invoiceTransactionRepository ?? throw new ArgumentNullException(nameof(invoiceTransactionRepository)); _candidateRepository = candidateRepository ?? throw new ArgumentNullException(nameof(candidateRepository)); }
public InvoiceTransactionRepositoryTests() { _invoiceTransactionRepository = new InvoiceTransactionRepository(); }