public function handleExceptionLogsInformationAboutTheExceptionInTheSystemLog()
{
$options = ['defaultRenderingOptions' => ['renderTechnicalDetails' => true, 'logException' => true], 'renderingGroups' => []];
$exception = new \Exception('The Message', 12345);
$mockSystemLogger = $this->createMock(SystemLoggerInterface::class);
$mockSystemLogger->expects($this->once())->method('logException')->with($exception);
$exceptionHandler = $this->getMockForAbstractClass(AbstractExceptionHandler::class, [], '', false, true, true, ['echoExceptionCli']);
/** @var AbstractExceptionHandler $exceptionHandler */
$exceptionHandler->setOptions($options);
$exceptionHandler->injectSystemLogger($mockSystemLogger);
$exceptionHandler->handleException($exception);
}