Completed
Pull Request — master (#145)
by Chuck
05:03
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 declare(strict_types=1);
2
3
/**
4
 * This file is part of phpDocumentor.
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 *
9
 * @copyright 2010-2018 Mike van Riel<[email protected]>
10
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
11
 * @link      http://phpdoc.org
12
 */
13
14
namespace phpDocumentor\Reflection;
15
16
use Mockery as m;
17
use PHPUnit\Framework\TestCase;
18
19
/**
20
 * @coversNothing
21
 */
22
class ReconstitutingADocBlockTest extends TestCase
23
{
24
    /**
25
     * Call Mockery::close after each test.
26
     */
27
    public function tearDown(): void
28
    {
29
        m::close();
30
    }
31
32
    public function testReconstituteADocBlock(): void
33
    {
34
        /**
35
         * @var string $docComment
36
         * @var string $reconstitutedDocComment
37
         */
38
        include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php');
39
40
        $this->assertSame($docComment, $reconstitutedDocComment);
41
    }
42
}
43