Bug 96776 JUnit test case wizard fails on methods with generics
If I use the wizard to create my junit test cases and select a method with generics in its signature such as: public PropertyTableModel(final List<Pair<String, String>> data) public final void setData(final List<Pair<String, String>> data) then the wizard completely fails to create my new test cases: I assume that the angle brackets are sending it crazy.
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageOne.java
return StubUtility.getLineDelimiterUsed(getPackageFragment());
	}
	
	private void appendTestMethodBody(StringBuffer newMethod, IMethod testedMethod) {
		newMethod.append("{"); 
		if (fPage2.isCreateTasks()){
			newMethod.append(getLineDelimiter());
			newMethod.append("//"); 
			newMethod.append(JUnitStubUtility.getTodoTaskTag(getPackageFragment().getJavaProject()));
			newMethod.append(Messages.format(WizardMessages.NewTestCaseWizardPageOne_marker_message, testedMethod.getElementName())); 
			newMethod.append(getLineDelimiter());		
		}
		newMethod.append("}").append(getLineDelimiter()).append(getLineDelimiter()); 
	}
	private void appendParameterNamesToMethodName(StringBuffer methodName, String[] params) {
		for (int i= 0; i < params.length; i++) {
			String param= params[i];
			methodName.append(Signature.getSimpleName(Signature.toString(Signature.getElementType(param))));
			for (int j= 0, arrayCount= Signature.getArrayCount(param); j < arrayCount; j++) {
				methodName.append("Array"); 
			}
		}
	}
	private void appendMethodComment(StringBuffer newMethod, IMethod method) throws JavaModelException {
		String returnType= Signature.toString(method.getReturnType());
		String body= Messages.format(WizardMessages.NewTestCaseWizardPageOne_comment_class_to_test, new String[]{returnType, method.getElementName()}); 
		newMethod.append("/*");
		newMethod.append(getLineDelimiter());
		newMethod.append(" * ");