@Test
    public void testFailureIfCommunityUsedWithEventing() {
        try (
            CouchbaseContainer container = new CouchbaseContainer(COUCHBASE_IMAGE_COMMUNITY)
                .withEnabledServices(CouchbaseService.KV, CouchbaseService.EVENTING)
        ) {
            assertThatThrownBy(() -> {
                    setUpClient(container, cluster -> {});
                })
                .isInstanceOf(ContainerLaunchException.class);
        }
    }
Make sure that the code fails fast if the Eventing service is enabled on the community
edition which is not supported.
modules/couchbase/src/test/java/org/testcontainers/couchbase/CouchbaseContainerTest.java