JavaPreferencesSettings.getCodeGenerationSettings());
JavaPreferencesSettings.getCodeGenerationSettings(cu.getJavaProject()));
	private void guessHelper(int startLine, int startColumn, int endLine, int endColumn, String expectedGuessedName) throws Exception {		ICompilationUnit cu= createCU(getPackageP(), getName()+".java", getFileContents(TEST_PATH_PREFIX + getRefactoringPath() + "nameGuessing/" + getName()+".java"));		ISourceRange selection= TextRangeUtil.getSelection(cu, startLine, startColumn, endLine, endColumn);		ExtractConstantRefactoring ref= ExtractConstantRefactoring.create(cu, selection.getOffset(), selection.getLength(), 																									JavaPreferencesSettings.getCodeGenerationSettings());				RefactoringStatus preconditionResult= ref.checkInitialConditions(new NullProgressMonitor());		assertTrue("activation was supposed to be successful" + preconditionResult.toString(), preconditionResult.isOK());		assertEquals("contant name not guessed", expectedGuessedName, ref.guessConstantName());	}