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