Beispiel #1
0
 /**
  * @test
  */
 public function proxyClassesStillContainAnnotationsFromItsOriginalClass()
 {
     $class = new ClassReflection('TYPO3\\FLOW3\\Tests\\Functional\\Object\\Fixtures\\PrototypeClassA');
     $method = $class->getMethod('setSomeProperty');
     $this->assertTrue($class->implementsInterface('TYPO3\\FLOW3\\Object\\Proxy\\ProxyInterface'));
     $this->assertTrue($class->isTaggedWith('scope'));
     $this->assertTrue($method->isTaggedWith('session'));
 }