public function testToString() { $command = new AutomatorCommand('contao:automator'); $command->setFramework($this->mockContaoFramework()); $this->assertContains('The name of the task:', $command->__toString()); }