@Test public void testOnPortPairGroupDeleted() { final PortPairGroupId portPairGroupId = PortPairGroupId.of("78888888-fc23-aeb6-f44b-56dc5e2fb3ae"); final TenantId tenantId = TenantId.tenantId("1"); final String name = "PortPairGroup"; final String description = "PortPairGroup"; final List<PortPairId> portPairIdList = new LinkedList<PortPairId>(); DefaultPortPairGroup.Builder portPairGroupBuilder = new DefaultPortPairGroup.Builder(); PortPairGroup portPairGroup = null; SfcService sfcService = new SfcManager(); PortPairId portPairId = PortPairId.of("73333333-fc23-aeb6-f44b-56dc5e2fb3ae"); portPairIdList.add(portPairId); portPairId = PortPairId.of("74444444-fc23-aeb6-f44b-56dc5e2fb3ae"); portPairIdList.add(portPairId); portPairGroup = portPairGroupBuilder.setId(portPairGroupId).setTenantId(tenantId).setName(name) .setDescription(description).setPortPairs(portPairIdList).build(); sfcService.onPortPairGroupDeleted(portPairGroup); }
@Override public void onPortPairGroupDeleted(PortPairGroup portPairGroup) { log.debug("onPortPairGroupDeleted"); }
SfcManager implements SfcService { @Override public void onPortPairGroupDeleted(PortPairGroup portPairGroup) { log.debug("onPortPairGroupDeleted"); } }
SfcManager implements SfcService { @Override public void onPortPairGroupDeleted(PortPairGroup portPairGroup) { log.debug("onPortPairGroupDeleted"); }  }
SfcManager implements SfcService { @Override public void onPortPairGroupDeleted(PortPairGroup portPairGroup) { log.debug("onPortPairGroupDeleted"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void onPortPairCreated(PortPair portPair); @Override void onPortPairDeleted(PortPair portPair); @Override void onPortPairGroupCreated(PortPairGroup portPairGroup); @Override void onPortPairGroupDeleted(PortPairGroup portPairGroup); @Override void onFlowClassifierCreated(FlowClassifier flowClassifier); @Override void onFlowClassifierDeleted(FlowClassifier flowClassifier); @Override void onPortChainCreated(PortChain portChain); @Override void onPortChainDeleted(PortChain portChain); }
SfcManager implements SfcService { @Override public void onPortPairGroupDeleted(PortPairGroup portPairGroup) { log.debug("onPortPairGroupDeleted"); }  @Activate void activate(); @Deactivate void deactivate(); @Override void onPortPairCreated(PortPair portPair); @Override void onPortPairDeleted(PortPair portPair); @Override void onPortPairGroupCreated(PortPairGroup portPairGroup); @Override void onPortPairGroupDeleted(PortPairGroup portPairGroup); @Override void onFlowClassifierCreated(FlowClassifier flowClassifier); @Override void onFlowClassifierDeleted(FlowClassifier flowClassifier); @Override void onPortChainCreated(PortChain portChain); @Override void onPortChainDeleted(PortChain portChain);  }