/**
  * Provided only for tests that want to kill object in tearDown()
  */
 public static function destroyInstance()
 {
     if (isset(self::$instance)) {
         self::$instance = null;
     }
 }