Bug 41239 Compile error in JDT JUnit due to SWTUtil [JUnit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
break;
					}
				}
			}
		}
		if (methodTemplate != null) {
			GenStubSettings genStubSettings= JUnitStubUtility.getCodeGenerationSettings(type.getJavaProject());
			genStubSettings.fCallSuper= true;				
			genStubSettings.fMethodOverwrites= true;
			constr= JUnitStubUtility.genStub(getTypeName(), methodTemplate, genStubSettings, imports);
		} else {
			constr += "public "+getTypeName()+"(String name) {" +  
					getLineDelimiter() +
					"super(name);" +  
					getLineDelimiter() +
					"}" +  
					getLineDelimiter() + getLineDelimiter();
		}
		type.createMethod(constr, null, true, null);	
	}
	private void createMain(IType type) throws JavaModelException {
		String mainMethod= fMethodStubsButtons.getMainMethod(getTypeName());
		type.createMethod(mainMethod, null, false, null);	
	}
	private void createSetUp(IType type, ImportsManager imports) throws JavaModelException {
		ITypeHierarchy typeHierarchy= null;
		IType[] superTypes= null;
		String setUp= ""; 
		IMethod methodTemplate= null;
		if (type.exists()) {