public static function setPatcherCacheDir($dir = null)
 {
     if ($dir === null) {
         $dir = APPPATH . 'tests/_ci_phpunit_test/tmp/cache';
     }
     CIPHPUnitTestPatcher::setCacheDir($dir);
 }
 protected static function loadPatchers()
 {
     if (self::$load_patchers) {
         return;
     }
     foreach (self::$patcher_list as $classname) {
         $classname = 'CIPHPUnitTest' . $classname;
         require __DIR__ . '/patchers/' . $classname . '.php';
     }
     self::$load_patchers = true;
 }
 protected function preprocessAndOpen($path)
 {
     return CIPHPUnitTestPatcher::patch($path);
 }