protected WaitStrategy getWaitStrategy() {
        return this.waitStrategy == DEFAULT_WAIT_STRATEGY ? this.containerDef.getWaitStrategy() : this.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