public function testHasNoNamedCommands() { $config = new CommandConfig('command'); $config->markAnonymous(); $this->config->addCommandConfig($config); $application = new ConsoleApplication($this->config); $this->assertFalse($application->hasNamedCommands()); }