You are here

public function InputDefinitionTest::testGetSynopsis in Zircon Profile 8

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

@dataProvider getGetSynopsisData

File

vendor/symfony/console/Tests/Input/InputDefinitionTest.php, line 358

Class

InputDefinitionTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testGetSynopsis(InputDefinition $definition, $expectedSynopsis, $message = null) {
  $this
    ->assertEquals($expectedSynopsis, $definition
    ->getSynopsis(), $message ? '->getSynopsis() ' . $message : '');
}