public function DocParserTest::testSetValuesExeption

@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Creation Error] The annotation @SomeAnnotationClassNameWithoutConstructor declared on some class does not have a property named "invalidaProperty". Available properties: data, name

File

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

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testSetValuesExeption() {
  $docblock = <<<DOCBLOCK
/**
 * @SomeAnnotationClassNameWithoutConstructor(invalidaProperty = "Some val")
 */
DOCBLOCK;
  $this
    ->createTestParser()
    ->parse($docblock, 'some class');
}