1 | <?php |
||
19 | class DescriptorAbstractTest extends \Mockery\Adapter\Phpunit\MockeryTestCase |
||
20 | { |
||
21 | /** @var DescriptorAbstract $fixture */ |
||
22 | protected $fixture; |
||
23 | |||
24 | /** |
||
25 | * Creates a new mocked fixture object. |
||
26 | */ |
||
27 | protected function setUp() |
||
32 | |||
33 | /** |
||
34 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::__construct |
||
35 | */ |
||
36 | public function testInitialize() |
||
46 | |||
47 | /** |
||
48 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setFullyQualifiedStructuralElementName |
||
49 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getFullyQualifiedStructuralElementName |
||
50 | */ |
||
51 | public function testSettingAndGettingFullyQualifiedStructuralElementName() |
||
59 | |||
60 | /** |
||
61 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setName |
||
62 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getName |
||
63 | */ |
||
64 | public function testSettingAndGettingName() |
||
72 | |||
73 | /** |
||
74 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setNamespace |
||
75 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getNamespace |
||
76 | */ |
||
77 | public function testSettingAndGettingNamespace() |
||
87 | |||
88 | /** |
||
89 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setSummary |
||
90 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getSummary |
||
91 | */ |
||
92 | public function testSettingAndGettingSummary() |
||
100 | |||
101 | /** |
||
102 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setDescription |
||
103 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getDescription |
||
104 | */ |
||
105 | public function testSettingAndGettingDescription() |
||
113 | |||
114 | /** |
||
115 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setPackage |
||
116 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getPackage |
||
117 | */ |
||
118 | public function testSettingAndGettingPackage() |
||
127 | |||
128 | /** |
||
129 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getAuthor |
||
130 | */ |
||
131 | public function testGetAuthor() |
||
147 | |||
148 | /** |
||
149 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getVersion |
||
150 | */ |
||
151 | public function testGetVersion() |
||
167 | |||
168 | /** |
||
169 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getCopyright |
||
170 | */ |
||
171 | public function testGetCopyRight() |
||
187 | |||
188 | /** |
||
189 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setLocation |
||
190 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getFile |
||
191 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getLine |
||
192 | */ |
||
193 | public function testSettingAndGettingLocation() |
||
203 | |||
204 | /** |
||
205 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setLine |
||
206 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getLine |
||
207 | */ |
||
208 | public function testSetLineNumber() |
||
216 | |||
217 | /** |
||
218 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getPath |
||
219 | */ |
||
220 | public function testGetPath() |
||
231 | |||
232 | /** |
||
233 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setTags |
||
234 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getTags |
||
235 | */ |
||
236 | public function testSettingAndGettingTags() |
||
246 | |||
247 | /** |
||
248 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::isDeprecated |
||
249 | */ |
||
250 | public function testIsDeprecated() |
||
258 | |||
259 | /** |
||
260 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::setErrors |
||
261 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::getErrors |
||
262 | */ |
||
263 | public function testSettingAndGettingErrors() |
||
273 | |||
274 | /** |
||
275 | * @covers phpDocumentor\Descriptor\DescriptorAbstract::__toString |
||
276 | */ |
||
277 | public function testToString() |
||
282 | } |
||
283 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.