This is an automated email from the ASF dual-hosted git repository. veithen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push: new 8706cb1 Replace usages of deprecated APIs 8706cb1 is described below commit 8706cb1d7e21a9b35f0d9922dc903afd843488b0 Author: Andreas Veithen <andreas.veit...@gmail.com> AuthorDate: Sat Dec 18 14:50:37 2021 +0000 Replace usages of deprecated APIs --- .../java/org/apache/axis2/schema/axis2_5771/IgnoreUnexpectedTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/adb-tests/src/test/java/org/apache/axis2/schema/axis2_5771/IgnoreUnexpectedTest.java b/modules/adb-tests/src/test/java/org/apache/axis2/schema/axis2_5771/IgnoreUnexpectedTest.java index 4d7463e..89c5334 100644 --- a/modules/adb-tests/src/test/java/org/apache/axis2/schema/axis2_5771/IgnoreUnexpectedTest.java +++ b/modules/adb-tests/src/test/java/org/apache/axis2/schema/axis2_5771/IgnoreUnexpectedTest.java @@ -22,7 +22,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; +import static org.mockito.Mockito.verifyNoInteractions; import java.util.logging.Handler; import java.util.logging.LogRecord; @@ -40,7 +40,7 @@ public class IgnoreUnexpectedTest { if (expected == null) { verify(handler).publish(any(LogRecord.class)); } else { - verifyZeroInteractions(handler); + verifyNoInteractions(handler); } } finally { logger.removeHandler(handler);