public function testInvalidCapacity($capacity) { $rate = new Rate(1, Rate::SECOND); new TokenBucket($capacity, $rate, new SingleProcessStorage()); }