Наследование: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
 public function testUntouchedException()
 {
     $exception = new \RuntimeException('foo');
     $event = $this->generateExceptionEvent($exception);
     $this->translator->expects($this->never())->method('trans');
     $this->listener->onKernelException($event);
     self::assertSame($exception, $event->getException());
 }