<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\HttpKernel\Tests\Event;usePHPUnit\Framework\TestCase;useSymfony\Component\HttpFoundation\Request;useSymfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;useSymfony\Component\HttpKernel\Tests\TestHttpKernel;classGetResponseForExceptionEventTestextendsTestCase{publicfunctiontestAllowSuccessfulResponseIsFalseByDefault(){$event=newGetResponseForExceptionEvent(newTestHttpKernel(),newRequest(),1,new\Exception());$this->assertFalse($event->isAllowingCustomResponseCode());}}