* @license http://www.opensource.org/licenses/mit-license.php MIT * @link http://phpdoc.org */ namespace phpDocumentor\Reflection; use Mockery as m; use PHPUnit\Framework\TestCase; /** * @coversNothing */ class ReconstitutingADocBlockTest extends TestCase { /** * Call Mockery::close after each test. */ public function tearDown(): void { m::close(); } public function testReconstituteADocBlock(): void { /** @var string $docComment */ $docComment; /** @var string $reconstitutedDocComment */ $reconstitutedDocComment; include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php'); $this->assertSame($docComment, $reconstitutedDocComment); } }