/** * @return void * @covers \pdepend\reflection\api\StaticReflectionClass * @group reflection * @group reflection::api * @group unittest */ public function testIsAbstractReturnsTrueWhenClassContainsAnAbstractMethod() { $class = new StaticReflectionClass(__CLASS__, '', 0); $class->initMethods(array(new StaticReflectionMethod('foo', '', StaticReflectionMethod::IS_ABSTRACT))); $this->assertTrue($class->isAbstract()); }