@Override
                            public void onNext(@NotNull Event event) {
                                // Check that a create event for the container is received
                                if (
                                    event.getId().equals(container.getContainerId()) &&
                                    event.getStatus().equals("create")
                                ) {
                                    latch.countDown();
                                }
                            }
Test that docker events can be streamed from the client.
core/src/test/java/org/testcontainers/dockerclient/EventStreamTest.java