@Test public void testRemoveOspfLsa() throws Exception { lsaWrapper = new LsaWrapperImpl(); lsaBin.addOspfLsa("lsa1", lsaWrapper); lsaBin.removeOspfLsa("lsa1", lsaWrapper); assertThat(lsaBin, is(notNullValue())); }
public void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper) { if (listOfLsa.containsKey(lsaKey)) { listOfLsa.remove(lsaKey); } }
LsaBinImpl implements LsaBin { public void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper) { if (listOfLsa.containsKey(lsaKey)) { listOfLsa.remove(lsaKey); } } }
LsaBinImpl implements LsaBin { public void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper) { if (listOfLsa.containsKey(lsaKey)) { listOfLsa.remove(lsaKey); } } LsaBinImpl(int binNumber); }
LsaBinImpl implements LsaBin { public void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper) { if (listOfLsa.containsKey(lsaKey)) { listOfLsa.remove(lsaKey); } } LsaBinImpl(int binNumber); void addOspfLsa(String lsaKey, LsaWrapper lsaWrapper); LsaWrapper ospfLsa(String lsaKey); void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper); Map<String, LsaWrapper> listOfLsa(); int binNumber(); @Override String toString(); }
LsaBinImpl implements LsaBin { public void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper) { if (listOfLsa.containsKey(lsaKey)) { listOfLsa.remove(lsaKey); } } LsaBinImpl(int binNumber); void addOspfLsa(String lsaKey, LsaWrapper lsaWrapper); LsaWrapper ospfLsa(String lsaKey); void removeOspfLsa(String lsaKey, LsaWrapper lsaWrapper); Map<String, LsaWrapper> listOfLsa(); int binNumber(); @Override String toString();  }