Beispiel #1
0
 public function testConstructionWithPearErrorYieldsMessageFromPearError()
 {
     require_once __DIR__ . '/Stub/PearError.php';
     $p = new Horde_Exception_Stub_PearError('pear');
     $e = new Horde_Exception_Wrapped($p);
     $this->assertSame('pear', $e->getMessage());
 }