oleksii-novikov-onix commented on PR #6440:
URL: https://github.com/apache/fineract/pull/6440#issuecomment-5789598127

   > @oleksii-novikov-onix Please review my finding / concern:
   > 
   > 
AccrualWithDeferredRevenueAmortizationAccountingProcessorForWorkingCapitalLoanTest.java:169
 — (low, test-coverage) The unit test is touched only to stub ACC_DEF_REV_AM so 
existing tests stay green; nothing asserts the new NONE short-circuit. A tenth 
method added without the guard, or a guard dropped in a refactor, would pass 
every unit test and only surface as the runtime exception this PR fixes. A test 
stubbing NONE and asserting verifyNoInteractions(helper, 
journalEntryRepository) across the interface would close it.
   
   Covered, the test loops over every method of the interface with NONE stubbed 
and asserts verifyNoInteractions(helper, journalEntryRepository), so a newly 
added method is caught automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to