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