Bug 20768 JUnit New TestCase wizard inserts "[" in method name [JUnit]
For the method (in the class being tested) with the signature "static double[] applyPixelEncoding(double[][] pm, double value[])" and for which another method exists with the same name but different signature, the wizard generates the method in the test class "public void testApplyPixelEncoding[DArrayDArray() {}"
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
String paramName= param.substring(start, end);
						
						if (paramName.indexOf('.') != -1) {
							start += paramName.lastIndexOf('.')+1;
						}
						methodName.append(param.substring(start, end));
						if (param.startsWith( (new Character(Signature.C_ARRAY)).toString() ))
							methodName.append("Array"); 
					}
				}
				/* Should I for examples have methods
				 * 	void foo(java.lang.StringBuffer sb) {}
				 *  void foo(mypackage1.StringBuffer sb) {}
				 *  void foo(mypackage2.StringBuffer sb) {}
				 * I will get in the test class:
				 *  testFooStringBuffer()
				 *  testFooStringBuffer1()
				 *  testFooStringBuffer2()
				 */
				if (newMethodsNames.contains(methodName.toString())) {
					int suffix= 1;
					while (newMethodsNames.contains(methodName.toString() + Integer.toString(suffix)))
						suffix++;
					methodName.append(Integer.toString(suffix));
				}
				newMethodsNames.add(new String(methodName));
				if (fPage2.getCreateFinalMethodStubsButtonSelection())
					newMethod.append("final "); 
				newMethod.append("public void "+methodName.toString()+"() {}\n\n"); 
				type.createMethod(newMethod.toString(), null, false, null);