airajena opened a new pull request, #5276:
URL: https://github.com/apache/fineract/pull/5276
## Description
This PR adds comprehensive unit tests for the `ExternalIdFactory` class in
the `fineract-core` module.
## Changes
- Added `ExternalIdFactoryTest.java` with 8 test methods covering:
- `produce(String)` - tests for valid, null, empty, and blank strings
- `produce(List<String>)` - tests for valid lists, mixed values, null
list, and empty list
## Testing
- Tests verify that:
- Valid strings produce ExternalId with correct value
- Null/empty/blank strings produce empty ExternalId
- List factory method correctly converts all values
- Null list throws NullPointerException as expected
## Related Issue
FINERACT-2421
--
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]