From: Gunnar Wrobel
Date: Thu, 11 Feb 2010 13:52:26 +0000 (+0100) Subject: Complete coverage. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ac9b5bf3984a2b707b0a33d21888b4b8f6ffa33d;p=horde.git Complete coverage. --- diff --git a/framework/Exception/test/Horde/Exception/ExceptionTest.php b/framework/Exception/test/Horde/Exception/ExceptionTest.php index ae0dcf6e4..086887208 100644 --- a/framework/Exception/test/Horde/Exception/ExceptionTest.php +++ b/framework/Exception/test/Horde/Exception/ExceptionTest.php @@ -105,6 +105,12 @@ class Horde_Exception_ExceptionTest extends PHPUnit_Framework_TestCase // LastError Exception Testing + public function testConstructionOfLastErrorYieldsStandardException() + { + $e = new Horde_Exception_LastError(); + $this->assertSame('', $e->getMessage()); + } + public function testConstructionWithGetlasterrorarrayYieldsMessageFromArray() { $e = new Horde_Exception_LastError(null, $this->_getLastError());