| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | protected function getCollector(): CollectorInterface |
||
| 12 | { |
||
| 13 | $collector = $this->createMock(CollectorInterface::class); |
||
| 14 | $collector->method('getCollected') |
||
| 15 | ->willReturn( |
||
| 16 | [ |
||
| 17 | 'int' => 123, |
||
| 18 | 'str' => 'asdas', |
||
| 19 | 'object' => new \stdClass(), |
||
| 20 | ] |
||
| 21 | ); |
||
| 22 | $collector->method('getName') |
||
| 23 | ->willReturn(get_class($collector)); |
||
| 24 | |||
| 25 | return $collector; |
||
|
|
|||
| 26 | } |
||
| 33 |