You are here

public function StringInputTest::testTokenize in Zircon Profile 8

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

@dataProvider getTokenizeData

File

vendor/symfony/console/Tests/Input/StringInputTest.php, line 23

Class

StringInputTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testTokenize($input, $tokens, $message) {
  $input = new StringInput($input);
  $r = new \ReflectionClass('Symfony\\Component\\Console\\Input\\ArgvInput');
  $p = $r
    ->getProperty('tokens');
  $p
    ->setAccessible(true);
  $this
    ->assertEquals($tokens, $p
    ->getValue($input), $message);
}