@Override
    public void setWaitStrategy(WaitStrategy waitStrategy) {
        this.waitStrategy = waitStrategy;
    }
The {@link WaitStrategy} to use to determine if the container is ready.
Defaults to {@link Wait#defaultWaitStrategy()}.

@return the {@link WaitStrategy} to use
core/src/main/java/org/testcontainers/containers/GenericContainer.java