Bug 42785 Write more AddUnimplementedConstructors Tests
Add more AddUnimplementedConstructorsTests to org.eclipse.jdt.ui.tests
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/AddUnimplementedConstructorsTest.java
fClassA.createMethod("public A() {\nsuper();}\n", null, true, null);
		
		ICompilationUnit cu2= fPackage.getCompilationUnit("Test1.java"); 
		IType testClass= cu2.createType("public class Test1 extends A {\n}\n", null, true, null); 
	
		IMethod[] constructorMethods= StubUtility.getOverridableConstructors(testClass);
		
		checkMethods(new String[] { "A" }, constructorMethods); 
	}
	
	/*
	 * basic test: test with 2 constructors to override
	 */
	public void test2() throws Exception {	
		fJavaProject= JavaProjectHelper.createJavaProject("DummyProject", "bin");
		assertNotNull(JavaProjectHelper.addRTJar(fJavaProject));
		
		IPackageFragmentRoot root= JavaProjectHelper.addSourceContainer(fJavaProject, "src");
		fPackage= root.createPackageFragment("ibm.util", true, null);
		
		ICompilationUnit cu= fPackage.getCompilationUnit("A.java");
		fClassA= cu.createType("public class A {\n}\n", null, true, null);		
		fClassA.createMethod("public A() {\nsuper();}\n", null, true, null);
		fClassA.createMethod("public A(int a) {super()}\n", null, true, null);
		
		ICompilationUnit cu2= fPackage.getCompilationUnit("Test1.java");
		IType testClass= cu2.createType("public class Test1 extends A {\n}\n", null, true, null);
	
		IMethod[] constructorMethods= StubUtility.getOverridableConstructors(testClass);