use Symfony\Component\Security\Core\User\InMemoryUser;
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
use Symfony\Component\Serializer\SerializerInterface;
use Symfony\Component\WebLink\HttpHeaderSerializer;
use Symfony\Component\WebLink\Link;
use Twig\Environment;
class AbstractControllerTest extends TestCase
{ protected function createController() { return new TestAbstractController();
} /**
* This test protects the default subscribed core services against accidental modification.
*/
public function testSubscribedServices() { $subscribed = AbstractController::
getSubscribedServices();
$expectedServices =
[ 'router' => '?Symfony\\Component\\Routing\\RouterInterface',
'request_stack' => '?Symfony\\Component\\HttpFoundation\\RequestStack',