1 | <?php |
||
53 | class IsMaintenanceTest extends PHPUnit_Framework_TestCase |
||
54 | { |
||
55 | |||
56 | /** |
||
57 | * @var WsdlManager |
||
58 | */ |
||
59 | private $manager; |
||
60 | |||
61 | protected function setUp() |
||
67 | |||
68 | /** |
||
69 | * Když get_headers vrátí pole obsahující HTTP status code OK |
||
70 | */ |
||
71 | public function testNotMaintenance(): void { |
||
74 | |||
75 | /** |
||
76 | * Když get_headers vráti pole neobsahující HTTP status code OK |
||
77 | * |
||
78 | * @depends testNotMaintenance |
||
79 | */ |
||
80 | public function testMaintenance(): void { |
||
83 | |||
84 | /** |
||
85 | * Když get_headers vrátí false místo pole |
||
86 | * |
||
87 | * @depends testNotMaintenance |
||
88 | */ |
||
89 | public function testMaintenanceNoHeaders(): void { |
||
92 | |||
93 | /** |
||
94 | * Když get_headers způsobí PHP Warning |
||
95 | * |
||
96 | * @depends testMaintenanceNoHeaders |
||
97 | */ |
||
98 | public function testDNSError(): void { |
||
102 | } |
||
103 | |||
104 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.