Completed
Pull Request — master (#128)
by
unknown
02:28
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 PHPUnit\Framework\TestCase;
17
18
/**
19
 * @coversNothing
20
 */
21
class ReconstitutingADocBlockTest extends TestCase
22
{
23
    /**
24
     * Call Mockery::close after each test.
25
     */
26
    public function tearDown()
27
    {
28
        m::close();
29
    }
30
31
    public function testReconstituteADocBlock()
32
    {
33
        /**
34
         * @var string $docComment
35
         * @var string $reconstitutedDocComment
36
         */
37
        include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php');
38
39
        $this->assertSame($docComment, $reconstitutedDocComment);
40
    }
41
}
42