### Question:
EcrExtendedAuth { public static boolean isAwsRegistry(String registry) { return (registry != null) && AWS_REGISTRY.matcher(registry).matches(); } EcrExtendedAuth(KitLogger logger, String registry); static boolean isAwsRegistry(String registry); boolean isAwsRegistry(); AuthConfig extendedAuth(AuthConfig localCredentials);  }### Answer:
@Test public void testIsNotAws() { assertFalse(new EcrExtendedAuth(logger, "jolokia").isAwsRegistry()); }
@Test public void testIsAws() { assertTrue(new EcrExtendedAuth(logger, "123456789012.dkr.ecr.eu-west-1.amazonaws.com").isAwsRegistry()); }