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