/** * @covers phpDocumentor\Descriptor\Tag\MethodDescriptor::__construct * @covers phpDocumentor\Descriptor\Tag\MethodDescriptor::setMethodName * @covers phpDocumentor\Descriptor\Tag\MethodDescriptor::getMethodName */ public function testSetAndGetMethodName() { $this->assertEmpty($this->fixture->getMethodName()); $this->fixture->setMethodName(self::EXAMPLE_NAME); $result = $this->fixture->getMethodName(); $this->assertSame(self::EXAMPLE_NAME, $result); }