void withSharding() {
            setCommand("-c", "while [ ! -f " + STARTER_SCRIPT + " ]; do sleep 0.1; done; " + STARTER_SCRIPT);
            setWaitStrategy(Wait.forLogMessage("(?i).*mongos ready.*", 1));
            setEntrypoint("sh");
        }
Gets a replica set url for a provided <code>databaseName</code>.

@param databaseName a database name.
@return a replica set url.
modules/mongodb/src/main/java/org/testcontainers/containers/MongoDBContainer.java