public void Should_Success_Get_Excel_Empty()
        {
            CreditorAccountService service = new CreditorAccountService(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));

            var reportResponse = service.GenerateExcel(null, 7, 1001, 7);

            Assert.NotNull(reportResponse);
        }
        public async Task Should_Success_Get_Excel()
        {
            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;
            data.Mutation     = unitData.DPP + unitData.PPN;

            var tempResponse = await service.CreateFromUnitReceiptNoteAsync(unitData);

            var Response = await service.CreateFromBankExpenditureNoteAsync(data);


            var reportResponse = service.GenerateExcel(data.SupplierName, data.Date.Month, data.Date.Year, 7);

            Assert.NotNull(reportResponse);
        }