@Test
public void finishedFutureReturnedIfPermitsAreGranted() {

    BufferedRateLimiter limiter = new BufferedRateLimiter(10, 10, 100);
    ListenableFuture<Void> actual = limiter.acquireAsync();
    assertTrue(actual.isDone());
}