OPNFLWPLUG-1032: Neon-MRI: Bump odlparent, yangtools, mdsal
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / karaf / ShowEventTimesComandProviderTest.java
index 65fe3cfc204d7afe5a82e85bc5be7613eccc3822..f8f4804893bc24f7ff6984a86ae70becaf7319f9 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.api.openflow.statistics.ofpspecific.EventIdentifier;
 import org.opendaylight.openflowplugin.impl.statistics.ofpspecific.EventsTimeCounter;
@@ -69,6 +70,6 @@ public class ShowEventTimesComandProviderTest extends AbstractKarafTest {
 
         showEventTimesComandProvider.execute(cmdSession);
         Assert.assertFalse(checkNoActivity(EventsTimeCounter.provideTimes(), CHECK_NO_ACTIVITY_FUNCTION));
-        Mockito.verify(console).print(Matchers.contains("junitDevice"));
+        Mockito.verify(console).print(contains("junitDevice"));
     }
 }
\ No newline at end of file