@Test public void testSetIsDr() throws Exception { ospfEligibleRouter.setIsDr(true); assertThat(ospfEligibleRouter.isDr(), is(true)); }
public void setIsDr(boolean isDr) { this.isDr = isDr; }
OspfEligibleRouter { public void setIsDr(boolean isDr) { this.isDr = isDr; } }
OspfEligibleRouter { public void setIsDr(boolean isDr) { this.isDr = isDr; } OspfEligibleRouter(); }
OspfEligibleRouter { public void setIsDr(boolean isDr) { this.isDr = isDr; } 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 setIsDr(boolean isDr) { this.isDr = isDr; } 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);  }