/** * Test that a reason phrase is correctly set with a Frapi_Response by a * standard http code */ public function testReasonPhraseByHttpCode() { $response = new Frapi_Response(array('code' => 405)); $this->assertEquals('Method Not Allowed', $response->getReasonPhrase()); }