/** * Test that a response code is correctly set within a Frapi_Response */ public function testResponseCode() { $response = new Frapi_Response(array('code' => 419)); $this->assertEquals(419, $response->getStatusCode()); }