@Test public void testIsDr() throws Exception { ospfRouter.setDr(true); assertThat(ospfRouter.isDr(), is(true)); }
public boolean isDr() { return isDr; }
OspfRouterImpl implements OspfRouter { public boolean isDr() { return isDr; } }
OspfRouterImpl implements OspfRouter { public boolean isDr() { return isDr; }  }
OspfRouterImpl implements OspfRouter { public boolean isDr() { return isDr; }  Ip4Address routerIp(); void setRouterIp(Ip4Address routerIp); Ip4Address areaIdOfInterface(); void setAreaIdOfInterface(Ip4Address areaIdOfInterface); Ip4Address interfaceId(); void setInterfaceId(Ip4Address interfaceId); OspfDeviceTed deviceTed(); void setDeviceTed(OspfDeviceTed deviceTed); boolean isOpaque(); void setOpaque(boolean opaque); Ip4Address neighborRouterId(); void setNeighborRouterId(Ip4Address advertisingRouterId); boolean isDr(); void setDr(boolean dr); }
OspfRouterImpl implements OspfRouter { public boolean isDr() { return isDr; }  Ip4Address routerIp(); void setRouterIp(Ip4Address routerIp); Ip4Address areaIdOfInterface(); void setAreaIdOfInterface(Ip4Address areaIdOfInterface); Ip4Address interfaceId(); void setInterfaceId(Ip4Address interfaceId); OspfDeviceTed deviceTed(); void setDeviceTed(OspfDeviceTed deviceTed); boolean isOpaque(); void setOpaque(boolean opaque); Ip4Address neighborRouterId(); void setNeighborRouterId(Ip4Address advertisingRouterId); boolean isDr(); void setDr(boolean dr);  }