public function testInstantiation() { $listener = new AddToSearchIndexListener($this->framework); $this->assertInstanceOf('Contao\\CoreBundle\\EventListener\\AddToSearchIndexListener', $listener); }