public function testHandleError() { $errorHandler = new Throwing(); $errorHandler->handleError(new Error('Test')); }