public function testHasNoNamedSubCommands()
{
$config = new CommandConfig('command');
$subConfig = new SubCommandConfig('sub');
$subConfig->markAnonymous();
$config->addSubCommandConfig($subConfig);
$command = new Command($config);
$this->assertFalse($command->hasNamedSubCommands());
}