Beispiel #1
0
        public APPaymentGAFRecordsCreatorTests()
        {
            _vendorDataContext    = GetService <VendorDataContext>();
            _taxPeriodDataContext = GetService <TaxPeriodDataContext>();
            _locationDataContext  = GetService <LocationDataContext>();

            var purchaseRecordBuilder = new PurchaseRecordBuilderByTaxTranOfAPPayment(GAFRepository,
                                                                                      new PurchaseRecordBuilderByVendorData(GAFRepository),
                                                                                      new GafRecordBuilderByRegister(GAFRepository));

            ApPaymentGAFRecordsCreator = new APPaymentGAFRecordsCreator(GAFRepository, purchaseRecordBuilder);
        }
 public APPaymentGAFRecordsCreator(IGAFRepository gafRepository,
                                   PurchaseRecordBuilderByTaxTranOfAPPayment recordBuilderByTaxTranOfApPayment) : base(gafRepository)
 {
     _recordBuilderByTaxTranOfApPayment = recordBuilderByTaxTranOfApPayment;
 }