/**
* @var \Symfony\Component\EventDispatcher\EventDispatcher
*/
private $dispatcher;
private $listener;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ $this->dispatcher =
$this->
createEventDispatcher();
$this->listener =
new TestEventListener();
} /**
* {@inheritdoc}
*/
protected function tearDown(): void
{ $this->dispatcher = NULL;
$this->listener = NULL;
} protected function createEventDispatcher() {