@Test public void testAddIsisLsp() throws Exception { defaultIsisLspBin.addIsisLsp(key, lspWrapper); assertThat(defaultIsisLspBin, is(notNullValue())); }
public void addIsisLsp(String lspKey, LspWrapper lspWrapper) { if (!listOfLsp.containsKey(lspKey)) { listOfLsp.put(lspKey, lspWrapper); lspWrapper.setBinNumber(this.binNumber); } }
DefaultIsisLspBin implements IsisLspBin { public void addIsisLsp(String lspKey, LspWrapper lspWrapper) { if (!listOfLsp.containsKey(lspKey)) { listOfLsp.put(lspKey, lspWrapper); lspWrapper.setBinNumber(this.binNumber); } } }
DefaultIsisLspBin implements IsisLspBin { public void addIsisLsp(String lspKey, LspWrapper lspWrapper) { if (!listOfLsp.containsKey(lspKey)) { listOfLsp.put(lspKey, lspWrapper); lspWrapper.setBinNumber(this.binNumber); } } DefaultIsisLspBin(int binNumber); }
DefaultIsisLspBin implements IsisLspBin { public void addIsisLsp(String lspKey, LspWrapper lspWrapper) { if (!listOfLsp.containsKey(lspKey)) { listOfLsp.put(lspKey, lspWrapper); lspWrapper.setBinNumber(this.binNumber); } } DefaultIsisLspBin(int binNumber); void addIsisLsp(String lspKey, LspWrapper lspWrapper); LspWrapper isisLsp(String lspKey); void removeIsisLsp(String lspKey, LspWrapper lspWrapper); Map<String, LspWrapper> listOfLsp(); int binNumber(); @Override String toString(); }
DefaultIsisLspBin implements IsisLspBin { public void addIsisLsp(String lspKey, LspWrapper lspWrapper) { if (!listOfLsp.containsKey(lspKey)) { listOfLsp.put(lspKey, lspWrapper); lspWrapper.setBinNumber(this.binNumber); } } DefaultIsisLspBin(int binNumber); void addIsisLsp(String lspKey, LspWrapper lspWrapper); LspWrapper isisLsp(String lspKey); void removeIsisLsp(String lspKey, LspWrapper lspWrapper); Map<String, LspWrapper> listOfLsp(); int binNumber(); @Override String toString();  }