public function hasSubCommands() { return !$this->subCommands->isEmpty(); }
public function testHasNoSubCommands() { $command = new Command(new CommandConfig('command')); $this->assertFalse($command->hasSubCommands()); }