import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
/**
- * Test for {@link ClearStatsCommandProvider}.
+ * Test for {@link ClearStatsCommand}.
*/
-class ClearStatsCommandProviderTest extends AbstractKarafTest {
+class ClearStatsCommandTest extends AbstractCommandTest {
private static final Function<String, Boolean> CHECK_NO_ACTIVITY_FUNCTION =
input -> input.endsWith(": no activity detected");
private final MessageIntelligenceAgency messageIntelligenceAgency = new MessageIntelligenceAgencyImpl();
@InjectMocks
- private ClearStatsCommandProvider clearStatsCommand;
+ private ClearStatsCommand clearStatsCommand;
@Override
protected void doBeforeEach() {
}
/**
- * Test for {@link ClearStatsCommandProvider#execute()} when no stats were touched before.
+ * Test for {@link ClearStatsCommand#execute()} when no stats were touched before.
*/
@Test
void clearNoActivity() {
}
/**
- * Test for {@link ClearStatsCommandProvider#execute()} when stats were touched before.
+ * Test for {@link ClearStatsCommand#execute()} when stats were touched before.
*/
@Test
void clearHavingActivity() {