You are here

public function InputArgumentTest::testGetDefault in Zircon Profile 8

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

File

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

Class

InputArgumentTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testGetDefault() {
  $argument = new InputArgument('foo', InputArgument::OPTIONAL, '', 'default');
  $this
    ->assertEquals('default', $argument
    ->getDefault(), '->getDefault() return the default value');
}