public static function clear() { if (file_exists(self::$file)) { unlink(self::$file); } if (is_dir(sys_get_temp_dir() . '/PhpPresentation_Unit_Test/')) { self::deleteDir(sys_get_temp_dir() . '/PhpPresentation_Unit_Test/'); } }
/** * Executed before each method of the class */ public function tearDown() { TestHelperDOCX::clear(); }