@NotNull
    @NonNull
    @Deprecated
    protected Set<Integer> getLivenessCheckPorts() {
        final Set<Integer> result = WaitStrategyTarget.super.getLivenessCheckPortNumbers();

        // for backwards compatibility
        if (this.getLivenessCheckPort() != null) {
            result.add(this.getLivenessCheckPort());
        }

        return result;
    }
@return the ports on which to check if the container is ready
@deprecated use {@link #getLivenessCheckPortNumbers()} instead
core/src/main/java/org/testcontainers/containers/GenericContainer.java