public function testCanSetCustomReasonCode() { $response = new Response(new \App\Config\AppConfig()); $response->setStatusCode(200, 'Not the mama'); $this->assertEquals('Not the mama', $response->getReason()); }
public function testGetReasonReturnsEmptyStringWithNoStatus() { $response = new Response(new App()); $this->assertEquals('', $response->getReason()); }