Inheritance: extends SeeTag
 /**
  * Test that the \phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag can
  * understand the @throws DocBlock.
  *
  * @param string $type        	
  * @param string $content        	
  * @param string $extractedType        	
  * @param string $extractedTypes        	
  * @param string $extractedDescription
  *        	@covers \phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag
  *        	@dataProvider provideDataForConstructor
  *        	
  * @return void
  */
 public function testConstructorParsesInputsIntoCorrectFields($type, $content, $extractedType, $extractedTypes, $extractedDescription)
 {
     $tag = new ThrowsTag($type, $content);
     $this->assertEquals($type, $tag->getName());
     $this->assertEquals($extractedType, $tag->getType());
     $this->assertEquals($extractedTypes, $tag->getTypes());
     $this->assertEquals($extractedDescription, $tag->getDescription());
 }
 /**
  * Sets the type to {@throws} and lets parent parse the tag and populates the
  * member variables.
  *
  * @param string $type    Tag identifier for this tag (should be 'return')
  * @param string $content Contents for this tag.
  */
 public function __construct($type, $content)
 {
     if ('throw' !== $type) {
         throw new \InvalidArgumentException('Internal error, ' . __CLASS__ . ' was called with ' . $type);
     }
     parent::__construct('throws', $content);
 }
 /**
  * Construct a new tag parser
  * @return null
  */
 public function __construct()
 {
     parent::__construct(self::NAME);
 }