You are here

public function InputArgumentTest::testConstructor in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/Input/InputArgumentTest.php \Symfony\Component\Console\Tests\Input\InputArgumentTest::testConstructor()

File

vendor/symfony/console/Tests/Input/InputArgumentTest.php, line 18

Class

InputArgumentTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testConstructor() {
  $argument = new InputArgument('foo');
  $this
    ->assertEquals('foo', $argument
    ->getName(), '__construct() takes a name as its first argument');
}