public function testResponse() { $response = new Response(); $this->assertNull($response->getStatusCode()); $this->assertNull($response->getReasonPhrase()); $response->withStatus('200', 'OK'); $this->assertEquals(Response::HTTP_OK, $response->getStatusCode()); $this->assertEquals('OK', $response->getReasonPhrase()); }