public function theServerShouldReturnStatusCode($status)
    {
        Assertions::assertNotNull($this->response, 'Missing response. Can you not send request?');
        Assertions::assertEquals($status, $this->response->getStatusCode(), 'Invalid HTTP status code.');
    }
public function theServerShouldReturnStatusCode($status)
    {
        Assertions::assertNotNull($this->response, 'Missing response. Can you not send request?');
        Assertions::assertEquals($status, $this->response->getStatusCode(), 'Invalid HTTP status code.');
    }
public function theServerShouldReturnStatusCode ( $ status ) { Assertions :: assertNotNull ( $ this -> response , 'Missing response. Can you not send request?' ) ; Assertions :: assertEquals ( $ status , $ this -> response -> getStatusCode ( ) , 'Invalid HTTP status code.' ) ; }
The server should return status code

@param integer $status

@Then /^(?:the )?server should return "([^"]+)" status code$/
The server should return status code