-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [P4PU-839] updated business logic for generation of PD #195
Conversation
.../gov/pagopa/arc/dto/mapper/gpd/PaymentNoticePayloadDTO2GPDPaymentNoticePayloadDTOMapper.java
Show resolved
Hide resolved
.../gov/pagopa/arc/dto/mapper/gpd/GPDPaymentNoticePayloadDTO2PaymentNoticeDetailsDTOMapper.java
Outdated
Show resolved
Hide resolved
Assertions.assertEquals(expectedPaymentNoticeDetailsStatus, result); | ||
} | ||
|
||
private static Stream<Arguments> provideEnumMappings() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of this, if we plan to have always the same name, we could just call the method for each GPDPaymentNoticeStatus value, verifying that the name is equal
for(GPDPaymentNoticeStatus e in GPDPaymentNoticeStatus.values){
PaymentNoticeDetailsStatus result = map...
Assertequals(e.name(), result.name())
This way you will test for each GPD values (also eventually new enum)
|
List of Changes
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: