/** * @return void * @covers \pdepend\reflection\api\StaticReflectionInterface * @group reflection * @group reflection::api * @group unittest */ public function testGetConstructorReturnsNullForClassNameMethod() { $interface = new StaticReflectionInterface(__CLASS__, ''); $interface->initMethods(array(new StaticReflectionMethod($interface->getShortName(), '', 0))); $this->assertNull($interface->getConstructor()); }