getTextSelection(unit.getSource()), JavaPreferencesSettings.getCodeGenerationSettings(), null);
getTextSelection(unit.getSource()), JavaPreferencesSettings.getCodeGenerationSettings(unit.getJavaProject()), null);
	protected void performTest(IPackageFragment packageFragment, String name, String outputFolder, int mode) throws Exception {		ICompilationUnit unit= createCU(packageFragment, name);		SurroundWithTryCatchRefactoring refactoring= SurroundWithTryCatchRefactoring.create(unit, 			getTextSelection(unit.getSource()), JavaPreferencesSettings.getCodeGenerationSettings(), null);		String out= null;		if (mode == COMPARE_WITH_OUTPUT)			out= getProofedContent(outputFolder, name);		performTest(unit, refactoring, mode, out, true);	}