@Test
    public void testWaitUntilReadyWithUnauthorizedWithLambda() {
        try (
            GenericContainer<?> container = startContainerWithCommand(
                createShellCommand("401 UNAUTHORIZED", GOOD_RESPONSE_BODY),
                createHttpWaitStrategy(ready).forStatusCodeMatching(it -> it >= 200 && it < 300 || it == 401)
            )
        ) {
            waitUntilReadyAndSucceed(container);
        }
    }
Expects that the WaitStrategy returns successfully after receiving an HTTP 401 response from the container.
This 401 response is checked with a lambda using {@link HttpWaitStrategy#forStatusCodeMatching(Predicate)}
core/src/test/java/org/testcontainers/junit/wait/strategy/HttpWaitStrategyTest.java