OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / karaf / ShowStatsCommandProviderTest.java
index cb96800a741a4a4296e2bce55c6f86a988f4022f..b573d6f7888ac9793c65a3e0c9c7aa3e18e80be8 100644 (file)
@@ -8,12 +8,13 @@
 
 package org.opendaylight.openflowplugin.impl.karaf;
 
+import static org.mockito.ArgumentMatchers.matches;
+
 import com.google.common.base.Function;
 import javax.annotation.Nullable;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Test;
-import org.mockito.Matchers;
 import org.mockito.Mockito;
 import org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.MessageIntelligenceAgency;
 import org.opendaylight.openflowplugin.api.openflow.statistics.ofpspecific.MessageSpy;
@@ -46,7 +47,7 @@ public class ShowStatsCommandProviderTest extends AbstractKarafTest {
     @After
     public void tearDown() throws Exception {
         // Pattern.DOTALL is set inline via "(?s)" at the beginning
-        Mockito.verify(console).print(Matchers.matches("(?s).+"));
+        Mockito.verify(console).print(matches("(?s).+"));
         messageIntelligenceAgency.resetStatistics();
     }