public function testCreateWithArguments()
{
$applicationConfig = new ApplicationConfig();
$parentConfig = new CommandConfig('command', $applicationConfig);
$config = new SubCommandConfig('sub-command', $parentConfig, $applicationConfig);
$this->assertSame($parentConfig, $config->getParentConfig());
$this->assertSame($applicationConfig, $config->getApplicationConfig());
$this->assertSame('sub-command', $config->getName());
}