@Test public void testGetRouterPriority() throws Exception { ospfEligibleRouter.setRouterPriority(1); assertThat(ospfEligibleRouter.getRouterPriority(), is(1)); }
public int getRouterPriority() { return routerPriority; }
OspfEligibleRouter { public int getRouterPriority() { return routerPriority; } }
OspfEligibleRouter { public int getRouterPriority() { return routerPriority; } OspfEligibleRouter(); }
OspfEligibleRouter { public int getRouterPriority() { return routerPriority; } 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 int getRouterPriority() { return routerPriority; } 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);  }