public function StringInputTest::testTokenize in Zircon Profile 8
Same name and namespace in other branches
- 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
Namespace
Symfony\Component\Console\Tests\InputCode
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);
}