@Test public void testSetMetric() throws Exception { summaryLsa.setMetric(20); result1 = summaryLsa.metric(); assertThat(result1, is(20)); }
public void setMetric(int metric) { this.metric = metric; }
SummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } }
SummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } SummaryLsa(LsaHeader lsaHeader); }
SummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } SummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
SummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } SummaryLsa(LsaHeader lsaHeader); Ip4Address networkMask(); void setNetworkMask(Ip4Address networkMask); int metric(); void setMetric(int metric); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }