%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/vendor/nikic/php-parser/test/PhpParser/ErrorHandler/
Upload File :
Create Path :
Current File : /var/www/html/news/vendor/nikic/php-parser/test/PhpParser/ErrorHandler/ThrowingTest.php

<?php

namespace PhpParser\ErrorHandler;

use PhpParser\Error;

class ThrowingTest extends \PHPUnit_Framework_TestCase {
    /**
     * @expectedException \PhpParser\Error
     * @expectedExceptionMessage Test
     */
    public function testHandleError() {
        $errorHandler = new Throwing();
        $errorHandler->handleError(new Error('Test'));
    }
}

Zerion Mini Shell 1.0