@Test public void testGetLinkStateRequests() throws Exception { lsRequest.addLinkStateRequests(createLsRequestPacket()); lsRequest.addLinkStateRequests(new LsRequestPacket()); result = lsRequest.getLinkStateRequests(); assertThat(result, is(notNullValue())); assertThat(result.size(), is(2)); }
public List<LsRequestPacket> getLinkStateRequests() { return linkStateRequests; }
LsRequest extends OspfPacketHeader { public List<LsRequestPacket> getLinkStateRequests() { return linkStateRequests; } }
LsRequest extends OspfPacketHeader { public List<LsRequestPacket> getLinkStateRequests() { return linkStateRequests; } LsRequest();  LsRequest(OspfPacketHeader ospfHeader); }
LsRequest extends OspfPacketHeader { public List<LsRequestPacket> getLinkStateRequests() { return linkStateRequests; } LsRequest();  LsRequest(OspfPacketHeader ospfHeader); void addLinkStateRequests(LsRequestPacket lsRequestPacket); List<LsRequestPacket> getLinkStateRequests(); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getLsrHeaderAsByteArray(); byte[] getLsrBodyAsByteArray(); @Override String toString(); }
LsRequest extends OspfPacketHeader { public List<LsRequestPacket> getLinkStateRequests() { return linkStateRequests; } LsRequest();  LsRequest(OspfPacketHeader ospfHeader); void addLinkStateRequests(LsRequestPacket lsRequestPacket); List<LsRequestPacket> getLinkStateRequests(); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] getLsrHeaderAsByteArray(); byte[] getLsrBodyAsByteArray(); @Override String toString();  }