| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 36 | public function limit_is_required(): void |
||
| 37 | { |
||
| 38 | $this->expectException(\LogicException::class); |
||
| 39 | $this->expectExceptionMessage(\sprintf('You must set a "Limit" for the throttle via "%s::allow($limit)"', ThrottleBuilder::class)); |
||
| 40 | |||
| 41 | (new ThrottleBuilder(new ThrottleFactory(new MemoryStore()), 'foo'))->every(10)->create(); |
||
| 42 | } |
||
| 66 |