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