public function testGetErrorMethod() { $e = new PEAR_Exception('oops'); $this->assertEquals('testGetErrorMethod', $e->getErrorMethod()); }