@Test
    void verifyOperation() {
        val factory = new SimpleMongoClientDatabaseFactory(CasMongoDbCloudConfigBootstrapAutoConfigurationTests.MONGODB_URI);
        val template = new MongoTemplate(factory);
        val loc = new MongoDbPropertySourceLocator(template);
        assertNull(loc.locate(mock(Environment.class)));
    }
This is {@link MongoDbPropertySourceLocatorTests}.

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