Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | protected function checkCollectedData(CollectorInterface $collector): void |
||
32 | { |
||
33 | parent::checkCollectedData($collector); |
||
34 | |||
35 | $data = $collector->getCollected(); |
||
36 | |||
37 | $this->assertEmpty($data['beforeStack']); |
||
38 | $this->assertEmpty($data['afterStack']); |
||
39 | $this->assertNotEmpty($data['actionHandler']); |
||
40 | $this->assertEquals(DummyMiddleware::class, $data['actionHandler']['name']); |
||
41 | $this->assertEquals('GET', $data['actionHandler']['request']->getMethod()); |
||
42 | } |
||
44 |