| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class DummyCollectorTest extends CollectorTestCase |
||
| 10 | { |
||
| 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 | } |
||
| 27 | |||
| 28 | protected function collectTestData(CollectorInterface $collector): void |
||
| 30 | // pass |
||
| 31 | } |
||
| 33 |