protected function setUp()
 {
     if (!class_exists('Gmagick')) {
         $this->markTestSkipped('Skipping ImageGmagickTest, Gmagick is not installed');
     } else {
         Image::setImagine(null);
         Image::$driver = Image::DRIVER_GMAGICK;
         parent::setUp();
     }
 }
 protected function setUp()
 {
     if (!function_exists('gd_info')) {
         $this->markTestSkipped('Skipping ImageGdTest, Gd not installed');
     } else {
         Image::setImagine(null);
         Image::$driver = Image::DRIVER_GD2;
         parent::setUp();
     }
 }
 protected function setUp()
 {
     if (!class_exists('Imagick')) {
         $this->markTestSkipped('Skipping ImageImagickTest, Imagick is not installed');
     } elseif (defined('HHVM_VERSION')) {
         $this->markTestSkipped('Imagine does not seem to support HHVM right now.');
     } else {
         Image::setImagine(null);
         Image::$driver = Image::DRIVER_IMAGICK;
         parent::setUp();
     }
 }