public ARInvoiceGAFRecordsCreatorTestsBase() { CustomerDataContext = GetService <CustomerDataContext>(); ArInvoiceAggregateBuilderFactory = GetService <ARInvoiceAggregateBuilderFactory>(); ArAddressDataContext = GetService <ARAddressDataContext>(); CountryDataContext = GetService <CountryDataContext>(); }
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; }