public function testOutput()
{
$command = new AutomatorCommand('contao:automator');
$command->setApplication($this->getApplication());
$command->setFramework($this->mockContaoFramework());
$tester = new CommandTester($command);
/** @var QuestionHelper $helper */
$helper = $command->getHelper('question');
$helper->setInputStream($this->getStreamFromInput("\n"));
$code = $tester->execute(['command' => $command->getName()]);
$this->assertEquals(0, $code);
$this->assertContains('Please select a task:', $tester->getDisplay());
$this->assertContains('[10]', $tester->getDisplay());
}