@Test
    public void supportsMongoDB_7_0() {
        try (final MongoDBContainer mongoDBContainer = new MongoDBContainer("mongo:7.0")) {
            mongoDBContainer.start();
        }
    }
Taken from <a href="https://docs.mongodb.com/manual/core/transactions/">https://docs.mongodb.com</a>
modules/mongodb/src/test/java/org/testcontainers/containers/MongoDBContainerTest.java