public function getTokensShouldReturnCapacityAfterWaitingLongerThanRefillPeriod()
{
$rate = new Rate(1, Rate::SECOND);
$bucket = new TokenBucket(10, $rate, new SingleProcessStorage());
$bucket->bootstrap(0);
sleep(11);
$this->assertEquals(10, $bucket->getTokens());
}