/** * @return void * @covers \pdepend\reflection\api\StaticReflectionMethod * @group reflection * @group reflection::api * @group unittest */ public function testIsDestructorReturnsFalseForInterfaceDestructMethod() { $method = new StaticReflectionMethod('__destruct', '', 0); $method->initDeclaringClass(new StaticReflectionInterface('stdClass', '')); $this->assertFalse($method->isDestructor()); }