Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/cpanel/ea-php56/root/usr/share/tests/pear/XML_Util/tests/
Upload File :
Current File : //proc/thread-self/root/opt/cpanel/ea-php56/root/usr/share/tests/pear/XML_Util/tests/RaiseErrorTests.php

<?php

class RaiseErrorTests extends AbstractUnitTests
{
    /**
     * @covers XML_Util::raiseError()
     */
    public function testRaiseError()
    {
        $code = 12345;
        $message = "I am an error";
        $error = XML_Util::raiseError($message, $code);
        $this->assertInstanceOf('PEAR_Error', $error);
        $this->assertEquals($message, $error->getMessage());
        $this->assertEquals($code, $error->getCode());
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists