EndpointToRegion { public static Region guessRegionForEndpoint(String hostname) { return guessRegionForEndpoint(hostname, null); }  static String guessRegionNameForEndpoint(String hostname); static String guessRegionNameForEndpoint(String endpoint, String serviceHint); static String guessRegionNameForEndpointWithDefault(String hostname, String serviceHint, String defaultRegion); static Region guessRegionForEndpoint(String hostname); static Region guessRegionForEndpoint(String endpoint, String serviceHint);  }
@Test public void guessRegionForHostname_basedOnStandardEndpointPattern_blankIsNull() { assertNull(EndpointToRegion.guessRegionForEndpoint("blah..c2s.ic.gov")); }
@Test public void guessRegionForHostname_basedOnStandardEndpointPattern_justSuffixIsNull() { assertNull(EndpointToRegion.guessRegionForEndpoint("c2s.ic.gov", null)); }