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