@Parameterized.Parameters(name = "{index}: {0}")
        public static Collection<TestData> data() {
            return Arrays.asList(
                new TestData("auth-source is present with valid provider",
                        "cfg/auth-source#prof",
                        new BasicAWSCredentials("akid", "skid", null, PROVIDER)),
                new TestData("Unknown auth-source when provider is empty",
                        "cfg/auth-source#unknown",
                        new BasicAWSCredentials("akid", "skid", null, "")),
                new TestData("auth-source present with unknown provider name",
                        "cfg/auth-source#MyHomebrewedCredentialsProvider",
                        new BasicAWSCredentials("akid", "skid", null, "MyHomebrewedCredentialsProvider")),
                new TestData("Endpoint override business metric",
                        "m/N", null, null, true),
                new TestData("Preferred account ID endpoint mode business metric",
                        "m/P", AccountIdEndpointMode.PREFERRED, null, null),
                new TestData("Disabled account ID endpoint mode business metric",
                        "m/Q", AccountIdEndpointMode.DISABLED, null, null),
                new TestData("Required account ID endpoint mode business metric",
                        "m/R", AccountIdEndpointMode.REQUIRED, null, null),
                new TestData("Resolved account ID business metric",
                        "m/T",null, "123456789012", null),
                new TestData("Endpoint override, disabled account ID endpoint mode business metric",
                        "m/N,Q", AccountIdEndpointMode.DISABLED, null, true),
                new TestData("Resolved account ID, required account ID endpoint mode business metric",
                        "m/R,T", AccountIdEndpointMode.REQUIRED, "123456789012", false),
                new TestData("Resolved account ID, preferred account ID endpoint mode business metric",
                        "m/P,T", AccountIdEndpointMode.PREFERRED, "123456789012", false),
                new TestData("auth-source is not present with illegal provider name",
                        null,
                        new BasicAWSCredentials("akid", "skid", null, "My@#$%$CredentialsProvider"))
            );
        }
Unit tests for {@link RuntimeHttpUtils#getUserAgent(ClientConfiguration, String, AWSCredentials, HandlerContextAware)} .
aws-java-sdk-core/src/test/java/com/amazonaws/util/RuntimeHttpUtilsTest.java