@Test
    void verifyInstance() throws Throwable {
        val path = File.createTempFile("props", ".txt").getCanonicalPath();
        val p = (AwsCredentialsProviderChain) ChainingAWSCredentialsProvider.getInstance("accesskey", "secretKey",
            "profilePath", path);
        val credentials = p.resolveCredentials();
        assertNotNull(credentials);
        assertInstanceOf(AwsBasicCredentials.class, credentials);
        assertNotNull(ChainingAWSCredentialsProvider.getInstance());
    }
This is {@link ChainingAWSCredentialsProviderTests}.

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