Beispiel #1
0
 /**
  * Test that the phpDocumentor_Reflection_DocBlock_Tag_See can create a link
  * for the @see doc block.
  *
  * @param string $type
  * @param string $content
  * @param string $exContent
  * @param string $exReference
  *
  * @covers       \phpDocumentor\Reflection\DocBlock\Tag\SeeTag
  * @dataProvider provideDataForConstuctor
  *
  * @return void
  */
 public function testConstructorParesInputsIntoCorrectFields($type, $content, $exContent, $exDescription, $exReference)
 {
     $tag = new SeeTag($type, $content);
     $this->assertEquals($type, $tag->getName());
     $this->assertEquals($exContent, $tag->getContent());
     $this->assertEquals($exDescription, $tag->getDescription());
     $this->assertEquals($exReference, $tag->getReference());
 }