### Question:
RemoteConfig { static String getExtraIPKey(String domain) { return "extra_ips_" + domain.toLowerCase(Locale.ROOT).replaceAll("\\W", "_"); }  static Task<Boolean> update(); static String getExtraIPs(String domain); static boolean getChoirEnabled();  }### Answer:
@Test public void getExtraIPKey() { assertEquals("extra_ips_foo", RemoteConfig.getExtraIPKey("foo")); assertEquals("extra_ips_foo_com", RemoteConfig.getExtraIPKey("foo.com")); assertEquals("extra_ips_www_foo_com", RemoteConfig.getExtraIPKey("www.foo.com")); assertEquals("extra_ips_foo_bar_com", RemoteConfig.getExtraIPKey("foo-bar.com")); assertEquals("extra_ips_foo7_com", RemoteConfig.getExtraIPKey("foo7.com")); assertEquals("extra_ips_foo_com", RemoteConfig.getExtraIPKey("FOO.COM")); assertEquals("extra_ips_192_0_2_1", RemoteConfig.getExtraIPKey("192.0.2.1")); assertEquals("extra_ips__1234_abcd__2_", RemoteConfig.getExtraIPKey("[1234:abcd::2]")); }