@Test public void testRemovePortPair() { testCreatePortPair(); assertThat(portPairMgr.removePortPair(portPairId), is(true)); }
@Override public boolean removePortPair(PortPairId portPairId) { checkNotNull(portPairId, PORT_PAIR_NULL); portPairStore.remove(portPairId); if (portPairStore.containsKey(portPairId)) { log.debug("The portPair is removed failed whose identifier was {}", portPairId.toString()); return false; } return true; }
PortPairManager extends AbstractListenerManager<PortPairEvent, PortPairListener> implements
        PortPairService { @Override public boolean removePortPair(PortPairId portPairId) { checkNotNull(portPairId, PORT_PAIR_NULL); portPairStore.remove(portPairId); if (portPairStore.containsKey(portPairId)) { log.debug("The portPair is removed failed whose identifier was {}", portPairId.toString()); return false; } return true; } }
PortPairManager extends AbstractListenerManager<PortPairEvent, PortPairListener> implements
        PortPairService { @Override public boolean removePortPair(PortPairId portPairId) { checkNotNull(portPairId, PORT_PAIR_NULL); portPairStore.remove(portPairId); if (portPairStore.containsKey(portPairId)) { log.debug("The portPair is removed failed whose identifier was {}", portPairId.toString()); return false; } return true; }  }
PortPairManager extends AbstractListenerManager<PortPairEvent, PortPairListener> implements
        PortPairService { @Override public boolean removePortPair(PortPairId portPairId) { checkNotNull(portPairId, PORT_PAIR_NULL); portPairStore.remove(portPairId); if (portPairStore.containsKey(portPairId)) { log.debug("The portPair is removed failed whose identifier was {}", portPairId.toString()); return false; } return true; }  @Activate void activate(); @Deactivate void deactivate(); @Override boolean exists(PortPairId portPairId); @Override int getPortPairCount(); @Override Iterable<PortPair> getPortPairs(); @Override PortPair getPortPair(PortPairId portPairId); @Override boolean createPortPair(PortPair portPair); @Override boolean updatePortPair(PortPair portPair); @Override boolean removePortPair(PortPairId portPairId); }
PortPairManager extends AbstractListenerManager<PortPairEvent, PortPairListener> implements
        PortPairService { @Override public boolean removePortPair(PortPairId portPairId) { checkNotNull(portPairId, PORT_PAIR_NULL); portPairStore.remove(portPairId); if (portPairStore.containsKey(portPairId)) { log.debug("The portPair is removed failed whose identifier was {}", portPairId.toString()); return false; } return true; }  @Activate void activate(); @Deactivate void deactivate(); @Override boolean exists(PortPairId portPairId); @Override int getPortPairCount(); @Override Iterable<PortPair> getPortPairs(); @Override PortPair getPortPair(PortPairId portPairId); @Override boolean createPortPair(PortPair portPair); @Override boolean updatePortPair(PortPair portPair); @Override boolean removePortPair(PortPairId portPairId);  }