| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class EventCollectorTest extends CollectorTestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param \Yiisoft\Yii\Debug\Collector\CollectorInterface|\Yiisoft\Yii\Debug\Collector\EventCollector $collector |
||
| 15 | */ |
||
| 16 | protected function collectTestData(CollectorInterface $collector): void |
||
| 17 | { |
||
| 18 | $collector->collect(new DummyEvent(), __FILE__ . ':' . __LINE__); |
||
|
|
|||
| 19 | } |
||
| 20 | |||
| 21 | protected function getCollector(): CollectorInterface |
||
| 22 | { |
||
| 23 | return new EventCollector(); |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function checkCollectedData(CollectorInterface $collector): void |
||
| 30 | } |
||
| 31 | } |
||
| 32 |