### Question:
RegistryAliasGroup { public static String getHost(String registry) { return REGISTRY_HOST_MAP.getOrDefault(registry, registry); }  static List<String> getAliasesGroup(String registry); static String getHost(String registry);  }### Answer:
@Test public void testGetHost_noAlias() { String host = RegistryAliasGroup.getHost("something.gcr.io"); Assert.assertEquals("something.gcr.io", host); }
@Test public void testGetHost_dockerIo() { String host = RegistryAliasGroup.getHost("docker.io"); Assert.assertEquals("registry-1.docker.io", host); }