import org.junit.Rule;
import org.junit.rules.MethodRule;
+import org.opendaylight.genius.datastoreutils.testutils.JobCoordinatorTestModule;
import org.opendaylight.genius.datastoreutils.testutils.TestableDataTreeChangeListenerModule;
import org.opendaylight.infrautils.inject.guice.testutils.GuiceRule;
import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.config.rev160806.AclserviceConfig.SecurityGroupMode;
public @Rule MethodRule guice = new GuiceRule(new AclServiceModule(),
new AclServiceTestModule(SecurityGroupMode.Stateful),
- new TestableDataTreeChangeListenerModule());
+ new TestableDataTreeChangeListenerModule(),
+ new JobCoordinatorTestModule());
private final FlowEntryObjectsStateful ipv4statefulentries = new FlowEntryObjectsStateful();
@Override
void newInterfaceWithAapIpv4AllCheck() {
- assertFlowsInAnyOrder(FlowEntryObjectsStateful.aapWithIpv4AllFlows());
+ assertFlowsInAnyOrder(ipv4statefulentries.aapWithIpv4AllFlows());
+ }
+
+ @Override
+ void newInterfaceWithAapCheck() {
+ assertFlowsInAnyOrder(ipv4statefulentries.aapFlows());
+ }
+
+ @Override
+ void newInterfaceWithMultipleAclCheck() {
+ assertFlowsInAnyOrder(ipv4statefulentries.multipleAcl());
}
}