chibenwa commented on code in PR #2393:
URL: https://github.com/apache/james-project/pull/2393#discussion_r1734353964


##########
server/container/guice/protocols/jmap/src/test/java/org/apache/james/jmap/MailetPreconditionTest.java:
##########
@@ -191,5 +191,19 @@ void bccMailetCheckShouldNotThrowOnValidPair() throws 
Exception {
             assertThatCode(() -> MailetContainerModule.BCC_Check.check(pairs))
                 .doesNotThrowAnyException();
         }
+
+        @Test
+        void bccMailetCheckShouldNotThrowOnValidPairWithOtherNames() throws 
Exception {

Review Comment:
   Edge case: Please add a test ensuring that removing `x-bcc-bug` header is 
not considered as valid.



-- 
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]

Reply via email to