@Test public void testSetMetric() throws Exception { num = 20; asbrSummaryLsa.setMetric(num); result1 = asbrSummaryLsa.metric(); assertThat(result1, is(notNullValue())); assertThat(result1, is(num)); }
public void setMetric(int metric) { this.metric = metric; }
AsbrSummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } }
AsbrSummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } AsbrSummaryLsa(LsaHeader lsaHeader); }
AsbrSummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } AsbrSummaryLsa(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 boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AsbrSummaryLsa extends LsaHeader { public void setMetric(int metric) { this.metric = metric; } AsbrSummaryLsa(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 boolean equals(Object o); @Override int hashCode(); @Override String toString();  }