@BeforeAll
    public static void initialize() {
        val template = new MongoTemplate(new SimpleMongoClientDatabaseFactory(MONGODB_URI));
        template.dropCollection(MongoDbProperty.class.getSimpleName());
        template.createCollection(MongoDbProperty.class.getSimpleName());

        val object = new MongoDbProperty();
        object.setId(UUID.randomUUID().toString());
        object.setName("cas.authn.accept.users");
        object.setValue(STATIC_AUTHN_USERS);
        template.insert(object, MongoDbProperty.class.getSimpleName());
    }
This is {@link CasMongoDbCloudConfigBootstrapAutoConfigurationTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-configuration-cloud-mongo/src/test/java/org/apereo/cas/CasMongoDbCloudConfigBootstrapAutoConfigurationTests.java