@Test public void testSetAttachedRouters() throws Exception { attachedRouters.add("1.1.1.1"); networkLsa.addAttachedRouter(Ip4Address.valueOf("1.1.1.1")); assertThat(attachedRouters, is(notNullValue())); }
public void addAttachedRouter(Ip4Address attachedRouter) { attachedRouters.add(attachedRouter); }
NetworkLsa extends LsaHeader { public void addAttachedRouter(Ip4Address attachedRouter) { attachedRouters.add(attachedRouter); } }
NetworkLsa extends LsaHeader { public void addAttachedRouter(Ip4Address attachedRouter) { attachedRouters.add(attachedRouter); } NetworkLsa();  NetworkLsa(LsaHeader lsaHeader); }
NetworkLsa extends LsaHeader { public void addAttachedRouter(Ip4Address attachedRouter) { attachedRouters.add(attachedRouter); } NetworkLsa();  NetworkLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); void addAttachedRouter(Ip4Address attachedRouter); List<Ip4Address> attachedRouters(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
NetworkLsa extends LsaHeader { public void addAttachedRouter(Ip4Address attachedRouter) { attachedRouters.add(attachedRouter); } NetworkLsa();  NetworkLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); void addAttachedRouter(Ip4Address attachedRouter); List<Ip4Address> attachedRouters(); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }