private function getRouter(): array
{
return [
'router',
ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE,
static::createConfiguredMock(
RouterInterface::class,
['generate' => self::URL],
),
];
}
/**
* @return array{
* 0: 'translator',
* 1: ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE,
* 2: StaticTranslator
* }
*/