@Test public void testSetMetric() throws Exception { ospfLsaLink.setMetric(100); assertThat(ospfLsaLink.metric(), is(100)); }
public void setMetric(int metric) { this.metric = metric; }
OspfLsaLink { public void setMetric(int metric) { this.metric = metric; } }
OspfLsaLink { public void setMetric(int metric) { this.metric = metric; }  }
OspfLsaLink { public void setMetric(int metric) { this.metric = metric; }  String linkId(); void setLinkId(String linkId); String linkData(); void setLinkData(String linkData); int linkType(); void setLinkType(int linkType); int metric(); void setMetric(int metric); int tos(); void setTos(int tos); @Override String toString(); }
OspfLsaLink { public void setMetric(int metric) { this.metric = metric; }  String linkId(); void setLinkId(String linkId); String linkData(); void setLinkData(String linkData); int linkType(); void setLinkType(int linkType); int metric(); void setMetric(int metric); int tos(); void setTos(int tos); @Override String toString(); public String linkId; public String linkData; public int linkType; public int metric; public int tos; }