public function testGetEstimate()
{
$timeout = strtotime('+5 seconds', microtime(1));
$count = 0;
while (microtime(1) < $timeout) {
$wait = $this->throttle->throttle('dave', 5, 1000);
if (microtime(1) < $timeout) {
$count++;
}
}
$this->assertEquals(25, $count);
}