@@ -284,6 +284,9 @@ discard block |
||
284 | 284 | $this->run_setStatusCode($this->getMethodSetStatusCode(), 200); |
285 | 285 | } |
286 | 286 | |
287 | + /** |
|
288 | + * @param integer $code |
|
289 | + */ |
|
287 | 290 | private function run_setStatusCode(\ReflectionMethod $method, $code) |
288 | 291 | { |
289 | 292 | try { |
@@ -306,6 +309,9 @@ discard block |
||
306 | 309 | } |
307 | 310 | |
308 | 311 | |
312 | + /** |
|
313 | + * @param integer $code |
|
314 | + */ |
|
309 | 315 | private function withError(Response $response, $code, $message = null) |
310 | 316 | { |
311 | 317 | $this->assertEquals($code, $response->getStatusCode()); |