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
for (int i= 0; i < superTypes.length; i++) {
				if (superTypes[i].exists()) {
					IMethod constrMethod= superTypes[i].getMethod(superTypes[i].getElementName(), new String[] {"Ljava.lang.String;"}); 
					if (constrMethod.exists() && constrMethod.isConstructor()) {
						methodTemplate= constrMethod;
						break;
					}
				}
			}
		}
		if (methodTemplate != null) {
			GenStubSettings settings= JUnitStubUtility.getCodeGenerationSettings(type.getJavaProject());
			settings.fCallSuper= true;				
			settings.fMethodOverwrites= true;
			content= JUnitStubUtility.genStub(getTypeName(), methodTemplate, settings, imports);
		} else {
			final String delimiter= getLineDelimiter();
			StringBuffer buffer= new StringBuffer(32);
			buffer.append("public "); 
			buffer.append(getTypeName());
			buffer.append("("); 
			buffer.append(imports.addImport("java.lang.String")); 
			buffer.append(" name) {"); 
			buffer.append(delimiter);
			buffer.append("super(name);"); 
			buffer.append(delimiter);
			buffer.append("}"); 
			buffer.append(delimiter);
			content += buffer.toString();
		}