Bug 113998 [JUnit] New Test Case Wizard: Class Under Test Dialog -- allow Enums
Enums should be selectable types in the dialog.
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
else if (!Character.isJavaIdentifierPart(character))
				buffer.deleteCharAt(index);
		}
	}
	private String getLineDelimiter(){
		IType classToTest= getClassUnderTest();
		
		if (classToTest != null && classToTest.exists())
			return StubUtility.getLineDelimiterUsed(classToTest);
		
		return StubUtility.getLineDelimiterUsed(getPackageFragment());
	}
	private void appendTestMethodBody(StringBuffer buffer, String name, IMethod method) throws CoreException {
		final String delimiter= getLineDelimiter();
		buffer.append("{").append(delimiter); 
		if (fPage2.isCreateTasks()) {
			final String content= CodeGeneration.getMethodBodyContent(method.getCompilationUnit(), CLASS_UNDER_TEST, name, false, "", delimiter); 
			if (content != null && content.length() > 0)
				buffer.append(content);
		}
		buffer.append(delimiter).append("}").append(delimiter).append(delimiter); 
	}
	private void appendParameterNamesToMethodName(StringBuffer buffer, String[] parameters) {
		for (int i= 0; i < parameters.length; i++) {
			final StringBuffer buf= new StringBuffer(Signature.getSimpleName(Signature.toString(Signature.getElementType(parameters[i]))));
			final char character= buf.charAt(0);
			if (buf.length() > 0 && !Character.isUpperCase(character))
				buf.setCharAt(0, Character.toUpperCase(character));
			buffer.append(buf.toString());
			for (int j= 0, arrayCount= Signature.getArrayCount(parameters[i]); j < arrayCount; j++) {