/** * @covers Rhumsaa\Uuid\Console\Util\ErrorHandler::handle */ public function testHandleNoException() { error_reporting(0); $this->assertEmpty(ErrorHandler::handle(1, 'Test exception', __FILE__, __LINE__)); }
/** * Constructor */ public function __construct() { Util\ErrorHandler::register(); parent::__construct('uuid', Uuid::VERSION); }