| 1 | <?php |
||
| 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 |