public function testCanSetCustomReasonPhrase() { $response = $this->response->withStatus(422, 'Foo Bar!'); $this->assertEquals('Foo Bar!', $response->getReasonPhrase()); }