public function Util_TestTest::testTestWithSimpleTextAfter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::testTestWithSimpleTextAfter()
@covers PHPUnit_Util_Test::getDataFromTestWithAnnotation
File
- vendor/
phpunit/ phpunit/ tests/ Util/ TestTest.php, line 319
Class
- Util_TestTest
- @since Class available since Release 3.3.6
Code
public function testTestWithSimpleTextAfter() {
$result = PHPUnit_Util_Test::getDataFromTestWithAnnotation('/**
* @testWith [1]
* [2]
* blah blah
*/');
$this
->assertEquals(array(
array(
1,
),
array(
2,
),
), $result);
}