Example #1
0
 /**
  * Assert that the client response has an OK status code.
  *
  * @return $this
  */
 public function assertResponseOk()
 {
     $actual = $this->response->getStatusCode();
     PHPUnit::assertTrue($this->response->isOk(), "Expected status code 200, got {$actual}.");
     return $this;
 }