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