public function testGetErrorClass() { $e = new PEAR_Exception('oops'); $this->assertEquals('PEAR_ExceptionTest', $e->getErrorClass()); }