/** * @return void * @covers \pdepend\reflection\api\StaticReflectionMethod * @group reflection * @group reflection::api * @group unittest */ public function testGetDocCommentReturnsDocCommentWhenDocCommentContainsText() { $method = new StaticReflectionMethod('foo', '/** @return void */', 0); $this->assertSame('/** @return void */', $method->getDocComment()); }