| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 9 | class HandlerStackTest extends TestCase |
||
| 10 | { |
||
| 11 | protected HandlerStack $stack; |
||
| 12 | |||
| 13 | public function setUp(): void |
||
| 14 | { |
||
| 15 | $this->stack = new HandlerStack(); |
||
| 16 | } |
||
| 17 | /** |
||
| 18 | * A basic unit test example. |
||
| 19 | */ |
||
| 20 | public function test_empty(): void |
||
| 21 | { |
||
| 22 | $this->assertTrue($this->stack->empty()); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function test_add_handler(): void |
||
| 32 | } |
||
| 33 | |||
| 34 | public function test_flush(): void |
||
| 43 | } |
||
| 44 | |||
| 46 |