Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
58 | public function resource_is_required(): void |
||
59 | { |
||
60 | $this->expectException(\LogicException::class); |
||
61 | $this->expectExceptionMessage('The resource for the throttle cannot be blank.'); |
||
62 | |||
63 | (new ThrottleBuilder(new ThrottleFactory(new MemoryStore())))->allow(10)->every(60)->create(); |
||
64 | } |
||
66 |