@Test public void testAddNeighbor() throws Exception { isisNeighborTlv.addNeighbor(macAddress); resultList = isisNeighborTlv.neighbor(); assertThat(resultList.size(), is(1)); }
public void addNeighbor(MacAddress macAddress) { neighbor.add(macAddress); }
IsisNeighborTlv extends TlvHeader implements IsisTlv { public void addNeighbor(MacAddress macAddress) { neighbor.add(macAddress); } }
IsisNeighborTlv extends TlvHeader implements IsisTlv { public void addNeighbor(MacAddress macAddress) { neighbor.add(macAddress); } IsisNeighborTlv(TlvHeader tlvHeader); }
IsisNeighborTlv extends TlvHeader implements IsisTlv { public void addNeighbor(MacAddress macAddress) { neighbor.add(macAddress); } IsisNeighborTlv(TlvHeader tlvHeader); void addNeighbor(MacAddress macAddress); List<MacAddress> neighbor(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); @Override String toString(); }
IsisNeighborTlv extends TlvHeader implements IsisTlv { public void addNeighbor(MacAddress macAddress) { neighbor.add(macAddress); } IsisNeighborTlv(TlvHeader tlvHeader); void addNeighbor(MacAddress macAddress); List<MacAddress> neighbor(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); @Override String toString();  }