public ARInvoiceFromSOGAFRecordsCreatorTests() { InvoiceGafRecordsCreator = new ARInvoiceFromSOGAFRecordsCreator(GAFRepository, new SupplyRecordBuilderBySOInvoice(GAFRepository, new GafRecordBuilderByRegister(GAFRepository), new SupplyRecordBuilderByCustomerData(GAFRepository), new SupplyRecordCountryBuilderForSOInvoice(GAFRepository)), new SupplyRecordBuilderBySOInvoiceTaxTranForTaxCalcedOnDocumentAmt(GAFRepository, new GafRecordBuilderByRegister(GAFRepository), new SupplyRecordBuilderByCustomerData(GAFRepository), new SupplyRecordCountryBuilderForSOInvoice(GAFRepository))); _soAddressDataContext = GetService <SOAddressDataContext>(); }
public TestGAFRepository(TaxDataContext taxDataContext, VendorDataContext vendorDataContext, LocationDataContext locationDataContext, ContactDataContext contactDataContext, CompanyDataContext companyDataContext, CustomerDataContext customerDataContext, ARAddressDataContext arAddressDataContext, CountryDataContext countryDataContext, SOAddressDataContext soAddressDataContext) { _taxDataContext = taxDataContext; _vendorDataContext = vendorDataContext; _locationDataContext = locationDataContext; _contactDataContext = contactDataContext; _companyDataContext = companyDataContext; _customerDataContext = customerDataContext; _arAddressDataContext = arAddressDataContext; _countryDataContext = countryDataContext; _soAddressDataContext = soAddressDataContext; }