def METHOD_NAME(self):
    self.timestamp_sequences.extend(
        [
            # Initial creation time.
            0,
            # Requests a token 1 second later.
            1,
        ]
    )
    token_bucket = self.create_token_bucket(max_rate=10)
    with self.assertRaises(CapacityNotAvailableError):
        token_bucket.acquire(100, block=False)