@Test
    void verifyClient() {
        val props = new SingleCollectionMongoDbProperties();
        props.setClientUri(URI);
        val factory = new MongoDbConnectionFactory();
        val client = factory.buildMongoDbClient(props);
        assertNotNull(client);
    }
This is {@link MongoDbConnectionFactoryTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-mongo/src/test/java/org/apereo/cas/authentication/MongoDbConnectionFactoryTests.java