1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Serializer\EventDispatcher; 6 7use Symfony\Component\DependencyInjection\Container; 8 9class LazyEventDispatcherWithSymfonyContainerTest extends LazyEventDispatcherTest 10{ 11 protected function createContainer() 12 { 13 return new Container(); 14 } 15 16 protected function registerListenerService($serviceId, MockListener $listener) 17 { 18 $this->container->set($serviceId, $listener); 19 } 20} 21