    @Test
    public void blockedNotAdded() throws InterruptedException {

        // fill the size - 100ms should be reasonable high
        RateLimiter rateLimiter = new RateLimiter(1, 100);
        assertTrue("Filling up", rateLimiter.tryAcquire());

        Thread.sleep(50);

        // still is full - should fail
        assertFalse("Expired too early", rateLimiter.tryAcquire());

        // wait the remaining time and add a threshold, because
        Thread.sleep(50 + THRESHOLD_MILLI);
        assertTrue("Request not released", rateLimiter.tryAcquire());
    }