Completed
Pull Request — master (#128)
by
unknown
01:46
created

ReconstitutingADocBlockTest::tearDown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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<[email protected]>
9
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
 * @link      http://phpdoc.org
11
 */
12
13
namespace phpDocumentor\Reflection;
14
15
use Mockery as m;
16
use phpDocumentor\Reflection\DocBlock\Description;
17
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
18
use phpDocumentor\Reflection\DocBlock\Tag;
19
use phpDocumentor\Reflection\DocBlock\Tags\See;
20
use PHPUnit\Framework\TestCase;
21
22
/**
23
 * @coversNothing
24
 */
25
class ReconstitutingADocBlockTest extends TestCase
26
{
27
    /**
28
     * Call Mockery::close after each test.
29
     */
30
    public function tearDown()
31
    {
32
        m::close();
33
    }
34
35
    public function testReconstituteADocBlock()
36
    {
37
        /**
38
         * @var string $docComment
39
         * @var string $reconstitutedDocComment
40
         */
41
        include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php');
42
43
        $this->assertSame($docComment, $reconstitutedDocComment);
44
    }
45
}
46