Complete coverage.
authorGunnar Wrobel <p@rdus.de>
Thu, 11 Feb 2010 13:52:26 +0000 (14:52 +0100)
committerGunnar Wrobel <p@rdus.de>
Thu, 11 Feb 2010 13:52:26 +0000 (14:52 +0100)
framework/Exception/test/Horde/Exception/ExceptionTest.php

index ae0dcf6..0868872 100644 (file)
@@ -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());