FINERACT-2221: Add immediate charge accrual post maturity for progressive loans
This commit is contained in:
committed by
Adam Saghy
parent
241906e042
commit
3687391148
+1
@@ -220,6 +220,7 @@ class LoanChargeWritePlatformServiceImplTest {
|
||||
when(configurationDomainService.isImmediateChargeAccrualPostMaturityEnabled()).thenReturn(isAccrualEnabled);
|
||||
when(loan.getMaturityDate()).thenReturn(maturityDate);
|
||||
when(loan.handleChargeAppliedTransaction(loanCharge, null)).thenReturn(loanTransaction);
|
||||
when(loan.createChargeAppliedTransaction(loanCharge, null)).thenReturn(loanTransaction);
|
||||
|
||||
if (isAccrualExpected) {
|
||||
when(loan.isPeriodicAccrualAccountingEnabledOnLoanProduct()).thenReturn(true);
|
||||
|
||||
Reference in New Issue
Block a user