@Test public void testAddLsaToMaxAgeBin() throws Exception { lsaWrapper = EasyMock.createMock(LsaWrapperImpl.class); lsdbAge.addLsaToMaxAgeBin("lsa1", lsaWrapper); assertThat(lsdbAge, is(notNullValue())); }
public void addLsaToMaxAgeBin(String key, LsaWrapper wrapper) { maxAgeBin.addOspfLsa(key, wrapper); }
LsdbAgeImpl implements LsdbAge { public void addLsaToMaxAgeBin(String key, LsaWrapper wrapper) { maxAgeBin.addOspfLsa(key, wrapper); } }
LsdbAgeImpl implements LsdbAge { public void addLsaToMaxAgeBin(String key, LsaWrapper wrapper) { maxAgeBin.addOspfLsa(key, wrapper); } LsdbAgeImpl(OspfArea ospfArea); }
LsdbAgeImpl implements LsdbAge { public void addLsaToMaxAgeBin(String key, LsaWrapper wrapper) { maxAgeBin.addOspfLsa(key, wrapper); } LsdbAgeImpl(OspfArea ospfArea); @Override boolean equals(Object o); @Override int hashCode(); void addLsaBin(Integer binKey, LsaBin lsaBin); LsaBin getLsaBin(Integer binKey); void addLsaToMaxAgeBin(String key, LsaWrapper wrapper); void removeLsaFromBin(LsaWrapper lsaWrapper); void startDbAging(); void ageLsaAndFlood(); void maxAgeLsa(); void refreshLsa(); void checkAges(); Channel getChannel(); void setChannel(Channel channel); int getAgeCounter(); int getAgeCounterRollOver(); LsaBin getMaxAgeBin(); int age2Bin(int x); }
LsdbAgeImpl implements LsdbAge { public void addLsaToMaxAgeBin(String key, LsaWrapper wrapper) { maxAgeBin.addOspfLsa(key, wrapper); } LsdbAgeImpl(OspfArea ospfArea); @Override boolean equals(Object o); @Override int hashCode(); void addLsaBin(Integer binKey, LsaBin lsaBin); LsaBin getLsaBin(Integer binKey); void addLsaToMaxAgeBin(String key, LsaWrapper wrapper); void removeLsaFromBin(LsaWrapper lsaWrapper); void startDbAging(); void ageLsaAndFlood(); void maxAgeLsa(); void refreshLsa(); void checkAges(); Channel getChannel(); void setChannel(Channel channel); int getAgeCounter(); int getAgeCounterRollOver(); LsaBin getMaxAgeBin(); int age2Bin(int x);  }