/**
  * Set response status
  *
  * @param int $responseStatusCode   HTTP Status code
  */
 private function setStatus($responseStatusCode = Response::OK_CODE)
 {
     $this->addHeader("HTTP/1.1 {$responseStatusCode} " . Response::getStatuses()[$responseStatusCode]);
     if ($responseStatusCode == self::METHOD_NOT_ALLOWED_CODE) {
         $this->addHeader("Allow: " . implode(', ', $this->request->getSupportedRequestMethods()));
     }
 }
 /**
  * @runInSeparateProcess
  */
 public function testResponseObjectReturnsOkStatusPhraseByDefault()
 {
     $this->assertEquals($this->response->send(), Response::getStatuses()[Response::OK_CODE]);
 }