@Test
    public void testWaitUntilReadyWithTimeoutAndWithManyStatusCodesAndLambda() {
        try (
            GenericContainer<?> container = startContainerWithCommand(
                createShellCommand("401 UNAUTHORIZED", GOOD_RESPONSE_BODY),
                createHttpWaitStrategy(ready).forStatusCode(300).forStatusCodeMatching(it -> it == 500)
            )
        ) {
            waitUntilReadyAndTimeout(container);
        }
    }
Expects that the WaitStrategy throws a {@link RetryCountExceededException} after not receiving any of the
error code defined with {@link HttpWaitStrategy#forStatusCode(int)}
and {@link HttpWaitStrategy#forStatusCodeMatching(Predicate)}
core/src/test/java/org/testcontainers/junit/wait/strategy/HttpWaitStrategyTest.java