/** * @return void * @covers \pdepend\reflection\api\StaticReflectionClass * @group reflection * @group reflection::api * @group unittest * @expectedException \ReflectionException */ public function testGetPropertyThrowsExceptionWhenNoPropertyForTheGivenNameExists() { $class = new StaticReflectionClass(__CLASS__, '', 0); $class->getProperty('foo'); }