oUser = User::get(1); $sName = 'DocumentUtilTest' . strftime('%Y%m%d%H%M%S'); $this->oFolder =& KTFolderUtil::add($oRootFolder, $sName, $this->oUser); } function tearDown() { $aOptions = array('ignore_permissions' => true); KTFolderUtil::delete($this->oFolder, $this->oUser, 'test case', $aOptions); } }