From fb9699b009717bb37b9a2bfd6ce460148e2143de Mon Sep 17 00:00:00 2001 From: Jakub Morvay Date: Thu, 8 Nov 2018 12:34:10 +0100 Subject: [PATCH] Use mockito ArgumentMatchers in protocol-framework org.mockito.Matchers class is deprecated so use org.mockito.ArgumentMatchers class instead in protocol-framework ServerTest. Change-Id: Ia7e2d0daf40bb8ef1f3b616638e1a91f0c3ba30a Signed-off-by: Jakub Morvay --- .../java/org/opendaylight/protocol/framework/ServerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java b/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java index ce82096cfe..531d70bb99 100644 --- a/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java +++ b/protocol-framework/src/test/java/org/opendaylight/protocol/framework/ServerTest.java @@ -9,7 +9,7 @@ package org.opendaylight.protocol.framework; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; -import static org.mockito.Matchers.any; +import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.mock; -- 2.36.6