private boolean executeWasAllowed(Chain<Searcher> chain, String id, boolean dryRun) {
        return executeWasAllowed(chain, id, 8, 1, dryRun);
    }
Try many requests and return how many was allowed.
This is to avoid testing the exact pattern of request/deny which does not matter
and is determined by floating point arithmetic details when capacity is close to zero.
container-search/src/test/java/com/yahoo/search/searchers/test/RateLimitingSearcherTestCase.java