@Test public void testInstanceInterfaceLocationInfo() { LocationInfo info = instanceInterfaceLocationInfo(IFACE); assertTrue(info.isSource()); assertThat( info.getSourceIps(), allOf( containsIp(Ip.parse("1.1.1.1")), containsIp(Ip.parse("2.2.2.2")), not(containsIp(Ip.parse("1.1.1.2"))), not(containsIp(Ip.parse("2.2.2.3"))))); assertThat(info.getArpIps(), equalTo(EmptyIpSpace.INSTANCE)); }
static LocationInfo instanceInterfaceLocationInfo(Interface iface) { return new LocationInfo( true, configuredIps(iface), EmptyIpSpace.INSTANCE); }
AwsLocationInfoUtils { static LocationInfo instanceInterfaceLocationInfo(Interface iface) { return new LocationInfo( true, configuredIps(iface), EmptyIpSpace.INSTANCE); } }
AwsLocationInfoUtils { static LocationInfo instanceInterfaceLocationInfo(Interface iface) { return new LocationInfo( true, configuredIps(iface), EmptyIpSpace.INSTANCE); } private  AwsLocationInfoUtils(); }
AwsLocationInfoUtils { static LocationInfo instanceInterfaceLocationInfo(Interface iface) { return new LocationInfo( true, configuredIps(iface), EmptyIpSpace.INSTANCE); } private  AwsLocationInfoUtils();  }
AwsLocationInfoUtils { static LocationInfo instanceInterfaceLocationInfo(Interface iface) { return new LocationInfo( true, configuredIps(iface), EmptyIpSpace.INSTANCE); } private  AwsLocationInfoUtils();   }