@Test
    void verifyAction() {
        val builder = new AmazonEnvironmentAwareClientBuilder("aws", environment);
        val mock = mock(AwsClientBuilder.class);
        when(mock.build()).thenReturn(new Object());
        val client = builder.build(mock, Object.class);
        assertNotNull(client);
        assertNotNull(builder.getSetting("secretAccessKey"));
        assertNotNull(builder.getSetting("secretAccessKey", String.class));
        assertNotNull(builder.getSetting("something", "defaultValue"));
    }
This is {@link AmazonEnvironmentAwareClientBuilderTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-aws/src/test/java/org/apereo/cas/aws/AmazonEnvironmentAwareClientBuilderTests.java