public function getReflectionClass() {
$className = 'Doctrine\\Tests\\Common\\Annotations\\DummyClass';
$testsRoot = substr(__DIR__, 0, -strlen(__NAMESPACE__) - 1);
$paths = array(
'Doctrine\\Tests' => array(
$testsRoot,
),
);
$staticReflectionParser = new StaticReflectionParser($className, new Psr0FindFile($paths));
return array(
'native' => array(
new ReflectionClass($className),
),
'static' => array(
$staticReflectionParser
->getReflectionClass(),
),
);
}