X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fkaraf%2FClearStatsCommandProviderTest.java;h=50da77de1c68f54fe5101501ae6425864a3a71f1;hb=b4f4b4b702e2ccd8a7c62fd2a5c184c5b1cbe665;hp=8b016e982a7272a7477c6c111bc222c34b6ba59d;hpb=2373479fdc5a59f1399e50f5de1dc321d429d76b;p=openflowplugin.git diff --git a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ClearStatsCommandProviderTest.java b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ClearStatsCommandProviderTest.java index 8b016e982a..50da77de1c 100644 --- a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ClearStatsCommandProviderTest.java +++ b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/karaf/ClearStatsCommandProviderTest.java @@ -8,12 +8,13 @@ package org.opendaylight.openflowplugin.impl.karaf; +import static org.mockito.ArgumentMatchers.anyString; + 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; @@ -45,7 +46,7 @@ public class ClearStatsCommandProviderTest extends AbstractKarafTest { @After public void tearDown() { - Mockito.verify(console).print(Matchers.anyString()); + Mockito.verify(console).print(anyString()); mi5.resetStatistics(); }