devi pathak created FINERACT-2534:
-------------------------------------
Summary: Add unit tests for StreamUtil utility class
Key: FINERACT-2534
URL: https://issues.apache.org/jira/browse/FINERACT-2534
Project: Apache Fineract
Issue Type: Improvement
Reporter: devi pathak
## Description
The *StreamUtil utility class* currently lacks dedicated *unit tests.*
This improvement adds unit tests for the following methods:
- *foldLeft* collector functionality
- *mergeMapsOfLists* collector functionality
These tests verify correct folding behavior and correct merging of map list
values.
## Motivation
Adding unit tests improves code coverage and ensures the reliability of utility
methods used across the project.
## Proposed Solution
Create StreamUtilTest.java under:
fineract-core/src/test/java/org/apache/fineract/util/
and add tests covering foldLeft and mergeMapsOfLists collectors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)