This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 49be93958bfa88eed9485acec3b3cc9a54c1e082 Author: Rene Cordier <rcord...@linagora.com> AuthorDate: Thu Nov 7 14:45:46 2019 +0700 [Refactoring] Remove useless test in MailAddressTest The hashCode is verified with the matchBeanContract test --- .../src/test/java/org/apache/james/core/MailAddressTest.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/src/test/java/org/apache/james/core/MailAddressTest.java b/core/src/test/java/org/apache/james/core/MailAddressTest.java index ff1ccac..e2ed131 100644 --- a/core/src/test/java/org/apache/james/core/MailAddressTest.java +++ b/core/src/test/java/org/apache/james/core/MailAddressTest.java @@ -88,18 +88,6 @@ class MailAddressTest { .map(Arguments::of); } - /** - * Test method for {@link MailAddress#hashCode()}. - * - * @throws AddressException - */ - @Test - void testHashCode() throws AddressException { - MailAddress a = new MailAddress(GOOD_ADDRESS); - MailAddress b = new MailAddress(GOOD_ADDRESS); - assertThat(a.hashCode()).isEqualTo(b.hashCode()); - } - @ParameterizedTest @MethodSource("goodAddresses") void testGoodMailAddressString(String mailAddress) { --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org