| Total Complexity | 4 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 10 | final class HttpStreamCollectorTest extends AbstractCollectorTestCase  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @param CollectorInterface|HttpStreamCollector $collector  | 
            ||
| 14 | */  | 
            ||
| 15 | protected function collectTestData(CollectorInterface $collector): void  | 
            ||
| 26 | );  | 
            ||
| 27 | }  | 
            ||
| 28 | |||
| 29 | protected function getCollector(): CollectorInterface  | 
            ||
| 30 |     { | 
            ||
| 31 | return new HttpStreamCollector();  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | protected function checkCollectedData(array $data): void  | 
            ||
| 35 |     { | 
            ||
| 36 | parent::checkCollectedData($data);  | 
            ||
| 37 | $collected = $data;  | 
            ||
| 38 | $this->assertCount(1, $collected);  | 
            ||
| 39 | |||
| 40 | $this->assertCount(2, $collected['read']);  | 
            ||
| 41 | $this->assertEquals([  | 
            ||
| 42 | ['uri' => __FILE__, 'args' => ['arg1' => 'v1', 'arg2' => 'v2']],  | 
            ||
| 43 | ['uri' => __FILE__, 'args' => ['arg3' => 'v3', 'arg4' => 'v4']],  | 
            ||
| 44 | ], $collected['read']);  | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 | protected function checkIndexData(array $data): void  | 
            ||
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |