public function InputDefinitionTest::testArgumentsMustHaveDifferentNames in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::testArgumentsMustHaveDifferentNames()
@expectedException \LogicException @expectedExceptionMessage An argument with name "foo" already exists.
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 89
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testArgumentsMustHaveDifferentNames() {
$this
->initializeArguments();
$definition = new InputDefinition();
$definition
->addArgument($this->foo);
$definition
->addArgument($this->foo1);
}