@Test
    void verifyProps() {
        val factory = new MongoDbConnectionFactory();
        val props = new SingleCollectionMongoDbProperties();
        props.setClientUri(URI);
        val template = factory.buildMongoTemplate(props);
        assertNotNull(template);
        factory.createCollection(template, getClass().getSimpleName(), true);
    }
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