ReconstitutingADocBlockTest.php 994 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * This file is part of phpDocumentor.
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. *
  8. * @copyright 2010-2015 Mike van Riel<mike@phpdoc.org>
  9. * @license http://www.opensource.org/licenses/mit-license.php MIT
  10. * @link http://phpdoc.org
  11. */
  12. namespace phpDocumentor\Reflection;
  13. use phpDocumentor\Reflection\DocBlock\Description;
  14. use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
  15. use phpDocumentor\Reflection\DocBlock\Tag;
  16. use phpDocumentor\Reflection\DocBlock\Tags\See;
  17. /**
  18. * @coversNothing
  19. */
  20. class ReconstitutingADocBlockTest extends \PHPUnit_Framework_TestCase
  21. {
  22. public function testReconstituteADocBlock()
  23. {
  24. /**
  25. * @var string $docComment
  26. * @var string $reconstitutedDocComment
  27. */
  28. include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php');
  29. $this->assertSame($docComment, $reconstitutedDocComment);
  30. }
  31. }