Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | final class DummyCollectorTest extends AbstractCollectorTestCase |
||
12 | { |
||
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 | } |
||
29 | |||
30 | protected function collectTestData(CollectorInterface $collector): void |
||
32 | // pass |
||
33 | } |
||
35 |