public String getConnectionString() {
        return baseConnectionString() + "/?" + DIRECT_CONNECTION;
    }
Get the connection string to MongoDB.
modules/mongodb/src/main/java/org/testcontainers/mongodb/MongoDBAtlasLocalContainer.java