public function testGetDefaultErrorCode() { $e = new Frapi_Exception('I haz default error code?', 'Frapi_Exception'); $this->assertEquals(400, $e->getCode()); }