public function hasDefaultCommands()
{
return count($this->defaultCommands) > 0;
}
public function testHasNoDefaultCommands() { $this->config->addCommandConfig(new CommandConfig('command')); $application = new ConsoleApplication($this->config); $this->assertFalse($application->hasDefaultCommands()); }