chibenwa commented on code in PR #2746:
URL: https://github.com/apache/james-project/pull/2746#discussion_r2154439891
##########
mdn/src/test/java/org/apache/james/mdn/MDNReportTest.java:
##########
@@ -48,6 +48,16 @@ class MDNReportTest {
@Test
void shouldMatchBeanContact() {
EqualsVerifier.forClass(MDNReport.class)
+ .withPrefabValues(
+ ImmutableList.class,
+ ImmutableList.of(
+ new Error(Text.fromRawText("error 1")),
+
ExtensionField.builder().fieldName("name1").rawValue("value1").build()
+ ),
+ ImmutableList.of(
+ new Error(Text.fromRawText("error 2")),
+
ExtensionField.builder().fieldName("name2").rawValue("value2").build()
+ ))
Review Comment:
```suggestion
ExtensionField.builder().fieldName("name1").rawValue("value1").build()),
ImmutableList.of(
new Error(Text.fromRawText("error 2")),
ExtensionField.builder().fieldName("name2").rawValue("value2").build()))
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]