Exemplo n.º 1
0
 /**
  * @return void
  * @covers \pdepend\reflection\api\StaticReflectionClass
  * @group reflection
  * @group reflection::api
  * @group unittest
  */
 public function testGetConstructorReturnsMethodNamedConstruct()
 {
     $class = new StaticReflectionClass(__CLASS__, '', 0);
     $class->initMethods(array(new StaticReflectionMethod('__construct', '', 0)));
     $this->assertNotNull($class->getConstructor());
 }