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