handleError() public method

public handleError ( Error $error )
$error PhpParser\Error
Example #1
0
 /**
  * @expectedException \PhpParser\Error
  * @expectedExceptionMessage Test
  */
 public function testHandleError()
 {
     $errorHandler = new Throwing();
     $errorHandler->handleError(new Error('Test'));
 }