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