| Total Complexity | 4 | 
| Total Lines | 52 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 14 | final class ValidatorInterfaceProxyTest extends AbstractCollectorTestCase | ||
| 15 | { | ||
| 16 | /** | ||
| 17 | * @param CollectorInterface|ValidatorCollector $collector | ||
| 18 | */ | ||
| 19 | protected function collectTestData(CollectorInterface|ValidatorCollector $collector): void | ||
| 20 |     { | ||
| 21 |         $collector->collect(1, (new Result())->addError('Too low', ['arg1' => 'v1']), [new Number(min: 7)]); | ||
| 22 | $collector->collect(10, new Result(), [new Number(min: 7)]); | ||
| 23 | } | ||
| 24 | |||
| 25 | protected function getCollector(): CollectorInterface | ||
| 26 |     { | ||
| 27 | return new ValidatorCollector(); | ||
| 28 | } | ||
| 29 | |||
| 30 | protected function checkCollectedData(array $data): void | ||
| 56 | ); | ||
| 57 | } | ||
| 58 | |||
| 59 | protected function checkIndexData(array $data): void | ||
| 66 | ); | ||
| 67 | } | ||
| 68 | } | ||
| 69 |