OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / karaf / ShowSessionStatsCommandProviderTest.java
index 559a096cb4e44c907cf5e944df572e12011dafae..20508355d9f4ad949219b3bfb371472c8fda7640 100644 (file)
@@ -8,12 +8,13 @@
 
 package org.opendaylight.openflowplugin.impl.karaf;
 
+import static org.mockito.ArgumentMatchers.contains;
+
 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.impl.statistics.ofpspecific.SessionStatistics;
 
@@ -67,6 +68,6 @@ public class ShowSessionStatsCommandProviderTest extends AbstractKarafTest {
 
         showSessionStatsCommandProvider.execute(cmdSession);
         Assert.assertFalse(checkNoActivity(SessionStatistics.provideStatistics(), CHECK_NO_ACTIVITY_FUNCTION));
-        Mockito.verify(console).print(Matchers.contains(dummySessionId));
+        Mockito.verify(console).print(contains(dummySessionId));
     }
 }
\ No newline at end of file