@BeforeAll
    public static void initialize() throws Exception {
        val environment = new MockEnvironment();
        environment.setProperty(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX + '.' + "endpoint", "http://localhost:8000");
        environment.setProperty(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX + '.' + "local-instance", "true");
        environment.setProperty(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX + '.' + "prevent-table-creation-on-startup", "true");
        environment.setProperty(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX + '.' + "credential-access-key", "test");
        environment.setProperty(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX + '.' + "credential-secret-key", "test");

        val builder = new AmazonEnvironmentAwareClientBuilder(CasDynamoDbCloudConfigBootstrapAutoConfiguration.CAS_CONFIGURATION_PREFIX, environment);
        val amazonDynamoDBClient = builder.build(DynamoDbClient.builder(), DynamoDbClient.class);

        CasDynamoDbCloudConfigBootstrapAutoConfiguration.createSettingsTable(amazonDynamoDBClient, true);
        val values = new HashMap<String, AttributeValue>();
        values.put(CasDynamoDbCloudConfigBootstrapAutoConfiguration.ColumnNames.ID.getColumnName(),
            AttributeValue.builder().s(UUID.randomUUID().toString()).build());
        values.put(CasDynamoDbCloudConfigBootstrapAutoConfiguration.ColumnNames.NAME.getColumnName(),
            AttributeValue.builder().s("cas.authn.accept.users").build());
        values.put(CasDynamoDbCloudConfigBootstrapAutoConfiguration.ColumnNames.VALUE.getColumnName(),
            AttributeValue.builder().s(STATIC_AUTHN_USERS).build());
        val request = PutItemRequest.builder().tableName(CasDynamoDbCloudConfigBootstrapAutoConfiguration.TABLE_NAME).item(values).build();
        amazonDynamoDBClient.putItem(request);
    }
This is {@link DynamoDbCloudConfigBootstrapConfigurationTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-configuration-cloud-dynamodb/src/test/java/org/apereo/cas/config/DynamoDbCloudConfigBootstrapConfigurationTests.java