public function theResponseStatusCodeShouldBe($httpStatus)
{
if ((string) $this->response->getStatusCode() !== $httpStatus) {
throw new \Exception(sprintf('HTTP code does not match %s (actual: %s)', $httpStatus, $this->response->getStatusCode()));
}
}