/** * @return void * @covers \pdepend\reflection\api\StaticReflectionMethod * @group reflection * @group reflection::api * @group unittest */ public function testIsPublicReturnsTrueWhenModifierWasSupplied() { $method = new StaticReflectionMethod('foo', '', \ReflectionMethod::IS_PUBLIC); $this->assertTrue($method->isPublic()); }