1 | <?php |
||
23 | class DescriptionTest extends TestCase |
||
24 | { |
||
25 | /** |
||
26 | * Call Mockery::close after each test. |
||
27 | */ |
||
28 | public function tearDown() |
||
32 | |||
33 | /** |
||
34 | * @covers ::__construct |
||
35 | * @covers ::render |
||
36 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Generic |
||
37 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag |
||
38 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter |
||
39 | */ |
||
40 | public function testDescriptionCanRenderUsingABodyWithPlaceholdersAndTags() |
||
56 | |||
57 | /** |
||
58 | * @covers ::__construct |
||
59 | * @covers ::render |
||
60 | * @covers ::__toString |
||
61 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Generic |
||
62 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag |
||
63 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter |
||
64 | */ |
||
65 | public function testDescriptionCanBeCastToString() |
||
75 | |||
76 | /** |
||
77 | * @covers ::getTags |
||
78 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Generic |
||
79 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag |
||
80 | */ |
||
81 | public function testDescriptionTagsGetter() |
||
102 | |||
103 | /** |
||
104 | * @covers ::__construct |
||
105 | * @covers ::render |
||
106 | * @covers ::__toString |
||
107 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Generic |
||
108 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag |
||
109 | * @uses \phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter |
||
110 | */ |
||
111 | public function testDescriptionMultipleTagsCanBeCastToString() |
||
127 | |||
128 | /** |
||
129 | * @covers ::__construct |
||
130 | * @expectedException \InvalidArgumentException |
||
131 | */ |
||
132 | public function testBodyTemplateMustBeAString() |
||
136 | } |
||
137 |