Bug 48431 Incorrect order for modifiers in generated testcases [JUnit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
}
		JUnitStatus status= new JUnitStatus();
		status.setWarning(WizardMessages.getString("NewTestClassWizPage.error.junitNotOnbuildpath")); 		
		fContainerStatus= status;
	}
	
	public static void addJUnitToBuildPath(IJavaProject project) throws JavaModelException {
		IPath junitHome= new Path(JUnitPlugin.JUNIT_HOME);
		IClasspathEntry entry= JavaCore.newVariableEntry(
			junitHome.append("junit.jar"),  
			junitHome.append("junitsrc.zip"),  
			null
		);
		addToClasspath(project, entry);
	}	
	
	private static void addToClasspath(IJavaProject project, IClasspathEntry entry) throws JavaModelException {
		IClasspathEntry[] oldEntries= project.getRawClasspath();
		for (int i= 0; i < oldEntries.length; i++) {
			if (oldEntries[i].equals(entry)) {
				return;
			}
		}
		int nEntries= oldEntries.length;
		IClasspathEntry[] newEntries= new IClasspathEntry[nEntries + 1];
		System.arraycopy(oldEntries, 0, newEntries, 0, nEntries);
		newEntries[nEntries]= entry;
		project.setRawClasspath(newEntries, null);
	}
	/**