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
}		
		IPackageFragment pack= getPackageFragment();
		if (pack != null) {
			ICompilationUnit cu= pack.getCompilationUnit(typeName + ".java"); 
			if (cu.exists()) {
					status.setError(WizardMessages.getFormattedString("NewTestClassWizPage.error.testcase.already_exists", typeName));
				return status;
			}
		}
		return status;
	}
	
	/**
	 * @see IWizardPage#canFlipToNextPage
	 */
	public boolean canFlipToNextPage() {
		return isPageComplete() && getNextPage() != null && isNextPageValid();
	}
	protected boolean isNextPageValid() {
		return !getClassToTestText().equals(""); 
	}
	protected JUnitStatus validateClassToTest() {
		IPackageFragmentRoot root= getPackageFragmentRoot();
		IPackageFragment pack= getPackageFragment();
		String classToTestName= fClassToTestText.getText();
		JUnitStatus status= new JUnitStatus();
		
		fClassToTest= null;
		if (classToTestName.length() == 0) {