You are here

public function Util_TestTest::testTestWithEmptyAnnotation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::testTestWithEmptyAnnotation()

@covers PHPUnit_Util_Test::getDataFromTestWithAnnotation

File

vendor/phpunit/phpunit/tests/Util/TestTest.php, line 261

Class

Util_TestTest
@since Class available since Release 3.3.6

Code

public function testTestWithEmptyAnnotation() {
  $result = PHPUnit_Util_Test::getDataFromTestWithAnnotation("/**\n * @anotherAnnotation\n */");
  $this
    ->assertNull($result);
}