@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Type Error] Attribute "string" of @AnnotationWithVarType declared on property Doctrine\Tests\Common\Annotations\Fixtures\ClassWithAnnotationWithVarType::$invalidProperty expects a(n) string, but got integer.
public function testClassWithPropertyInvalidVarTypeError() {
$reader = $this
->getReader();
$class = new ReflectionClass('Doctrine\\Tests\\Common\\Annotations\\Fixtures\\ClassWithAnnotationWithVarType');
$reader
->getPropertyAnnotations($class
->getProperty('invalidProperty'));
}