function test_get() { assert_matches('#google#', $this->response); assert_equal(200, $this->response->headers['Status-Code']); }
function test_should_separate_response_headers_from_body() { ensure(is_array($this->response->headers)); assert_matches('#^<!doctype#', $this->response->body); }