public function testTagGettersAndSetters()
    {
        $this->_docblock->setTag(array('name' => 'blah'));
        $this->_docblock->setTag(new Zend_CodeGenerator_Php_Docblock_Tag_Param(array('datatype' => 'string')));
        $this->_docblock->setTag(new Zend_CodeGenerator_Php_Docblock_Tag_Return(array('datatype' => 'int')));
        $this->assertEquals(3, count($this->_docblock->getTags()));
        $target = <<<EOS
/**
 * @blah
 * @param string
 * @return int
 */

EOS;
        $this->assertEquals($target, $this->_docblock->generate());
    }