public function hasCommandConfigs() { return count($this->commandConfigs) > 0; }
public function testHasCommandConfigs() { $this->assertFalse($this->config->hasCommandConfigs()); $this->config->addCommandConfig($config = new CommandConfig()); $this->assertTrue($this->config->hasCommandConfigs()); }