[balancewebhooks] Code generation: update services and models#1819
[balancewebhooks] Code generation: update services and models#1819AdyenAutomationBot wants to merge 1 commit intomainfrom
Conversation
e32cc8b to
6322660
Compare
There was a problem hiding this comment.
Code Review
This pull request removes several unused imports from the MessageHeaderTest class. A review comment suggests that instead of removing the assertNotNull import, it should be used to verify that the MessageHeader is correctly deserialized, which would enhance the test's robustness and provide clearer error messages.
| package com.adyen.model.nexo; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.assertEquals; | ||
| import static org.junit.jupiter.api.Assertions.assertNotNull; |
There was a problem hiding this comment.
While this import is unused in the current code, consider re-adding it and using assertNotNull to verify that the deserializedMessageHeader object is not null after deserialization. This improves test clarity and provides a more specific error message if terminalApiGson.fromJson were to return null, which can aid in faster debugging.
For example, you could add the following after line 20:
assertNotNull(deserializedMessageHeader);
This PR contains the automated changes for the
balancewebhooksservice.The commit history of this PR reflects the
adyen-openapicommits that have been applied.