@Override
            protected Collection<String> getMappingBasePackages() {
                return List.of(SampleDocument.class.getPackageName());
            }
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