protected function setUp()
 {
     if (!extension_loaded('mongo')) {
         $this->markTestSkipped('missing mongo extension');
     }
     parent::setUp();
 }
 protected function setUp()
 {
     if (!extension_loaded('mongo') || !extension_loaded('mongodb')) {
         $this->markTestSkipped('missing mongo or mongodb extension');
     }
     if (extension_loaded('mongodb') && !class_exists('\\MongoDB\\Client')) {
         $this->markTestSkipped('missing mongodb library');
     }
     parent::setUp();
 }