@Test public void testSetRouterId() throws Exception { ospfEligibleRouter.setRouterId(Ip4Address.valueOf("1.1.1.1")); assertThat(ospfEligibleRouter.getRouterId(), is(Ip4Address.valueOf("1.1.1.1"))); }
public void setRouterId(Ip4Address routerId) { this.routerId = routerId; }
OspfEligibleRouter { public void setRouterId(Ip4Address routerId) { this.routerId = routerId; } }
OspfEligibleRouter { public void setRouterId(Ip4Address routerId) { this.routerId = routerId; } OspfEligibleRouter(); }
OspfEligibleRouter { public void setRouterId(Ip4Address routerId) { this.routerId = routerId; } OspfEligibleRouter(); Ip4Address getIpAddress(); void setIpAddress(Ip4Address ipAddress); Ip4Address getRouterId(); void setRouterId(Ip4Address routerId); int getRouterPriority(); void setRouterPriority(int routerPriority); boolean isDr(); void setIsDr(boolean isDr); boolean isBdr(); void setIsBdr(boolean isBdr); }
OspfEligibleRouter { public void setRouterId(Ip4Address routerId) { this.routerId = routerId; } OspfEligibleRouter(); Ip4Address getIpAddress(); void setIpAddress(Ip4Address ipAddress); Ip4Address getRouterId(); void setRouterId(Ip4Address routerId); int getRouterPriority(); void setRouterPriority(int routerPriority); boolean isDr(); void setIsDr(boolean isDr); boolean isBdr(); void setIsBdr(boolean isBdr);  }