public async Task Should_Success_Get_Report_Correction()
        {
            CreditorAccountService service = new CreditorAccountService(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));
            var data     = _dataUtil(service).GetBankExpenditureNotePostedViewModel();
            var unitData = _dataUtil(service).GetNewData_UnitReceiptNotePostedViewModel();

            data.SupplierCode = unitData.SupplierCode;
            data.SupplierName = unitData.SupplierName;
            data.InvoiceNo    = unitData.InvoiceNo;
            var tempResponse = await service.CreateFromUnitReceiptNoteAsync(unitData);

            var Response = await service.CreateFromBankExpenditureNoteAsync(data);


            var reportResponse = service.GetReport(1, 25, data.SupplierName, data.Date.Month, data.Date.Year, 7);

            var test = reportResponse.Item1.Data.FirstOrDefault();
            await service.CreateFromUnitPaymentCorrection(new CreditorAccountUnitPaymentCorrectionPostedViewModel()
            {
                UnitReceiptNoteNo = test.UnitReceiptNoteNo, UnitPaymentCorrectionNo = "test"
            });

            service.GetReport(1, 25, data.SupplierName, data.Date.Month, data.Date.Year, 7);
            Assert.NotEmpty(reportResponse.Item1.Data);
        }
        public async Task Should_Success_Put_UnitPaymentOrderCorrection()
        {
            CreditorAccountService service = new CreditorAccountService(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));
            var data = _dataUtil(service).GetNewData_CreditorAccountModel();

            await service.CreateAsync(data);

            var updateResponse = await service.CreateFromUnitPaymentCorrection(new CreditorAccountUnitPaymentCorrectionPostedViewModel()
            {
                UnitReceiptNoteNo = data.UnitReceiptNoteNo
            });

            Assert.NotEqual(0, updateResponse);
        }