public function DocParserTest::testInvalidIdentifierInAnnotation

@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_IDENTIFIER or Doctrine\Common\Annotations\DocLexer::T_TRUE or Doctrine\Common\Annotations\DocLexer::T_FALSE or Doctrine\Common\Annotations\DocLexer::T_NULL, got '3.42' at position 5.

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php, line 1100

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testInvalidIdentifierInAnnotation() {
  $parser = $this
    ->createTestParser();
  $parser
    ->parse('@Foo\\3.42');
}