16 package org.openkilda.atdd.staging.tests.monkeysuite.checkflows;
18 import static org.mockito.ArgumentMatchers.any;
19 import static org.mockito.Mockito.times;
20 import static org.mockito.Mockito.verify;
25 import cucumber.api.CucumberOptions;
26 import cucumber.api.java.After;
27 import org.junit.Ignore;
28 import org.junit.runner.RunWith;
29 import org.springframework.beans.factory.annotation.Autowired;
30 import org.springframework.test.context.ActiveProfiles;
34 @CucumberOptions(features = {
"classpath:features/monkey_suite.featuremonkey_suite.feature"},
35 glue = {
"org.openkilda.atdd.staging.tests.monkeysuite.checkflows",
"org.openkilda.atdd.staging.steps"},
36 tags = {
"@CheckFlows"},
37 plugin = {
"json:target/cucumber-reports/monkey_suite_check_flows_report.json"})
38 @ActiveProfiles(
"mock")
41 public static class MonkeySuiteCheckFlowsHook {
47 public void assertsAndVerifyMocks() {
48 verify(northboundService, times(3)).
getFlow(any());
FlowPayload getFlow(String flowId)