chibenwa commented on code in PR #2746: URL: https://github.com/apache/james-project/pull/2746#discussion_r2154438935
########## core/src/test/java/org/apache/james/util/PortTest.java: ########## @@ -19,18 +19,26 @@ package org.apache.james.util; +import static org.apache.james.util.Port.MAX_PORT_VALUE; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import org.junit.jupiter.api.Test; +import com.google.common.collect.Range; + import nl.jqno.equalsverifier.EqualsVerifier; class PortTest { @Test void portShouldRespectBeanContract() { EqualsVerifier.forClass(Port.class) + .withPrefabValues( + Range.class, + Range.closed(1, MAX_PORT_VALUE), + Range.closed(0, 10) + ) Review Comment: ```suggestion Range.closed(0, 10)) ``` -- 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: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org