@Test public void testRouterIp() throws Exception { ospfRouter.setRouterIp(Ip4Address.valueOf("1.1.1.1")); assertThat(ospfRouter.routerIp(), is(IpAddress.valueOf("1.1.1.1"))); }
public Ip4Address routerIp() { return routerIp; }
OspfRouterImpl implements OspfRouter { public Ip4Address routerIp() { return routerIp; } }
OspfRouterImpl implements OspfRouter { public Ip4Address routerIp() { return routerIp; }  }
OspfRouterImpl implements OspfRouter { public Ip4Address routerIp() { return routerIp; }  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 Ip4Address routerIp() { return routerIp; }  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);  }