Bug 114098 [content assist] Camel case completions are not inserted
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/contentassist/TypeCompletionTest.java
assertMethodBodyProposal("L|", "List ", "List<|E|>");
	}
	
	public void testAutoImportGenericType() throws Exception {
		expectImports("", "\nimport java.util.ArrayList;\n");
		assertMethodBodyProposal("A|", "ArrayList ", "ArrayList<|E|>");
	}
	
	public void testGenericTypeParameterGuessingUnambiguos() throws Exception {
		expectImports("import java.util.List;\n", "import java.util.ArrayList;\nimport java.util.List;\n");
		assertMethodBodyProposal("List<String> list= new A|", "ArrayList ", "List<String> list= new ArrayList<String>|");
	}
	
	public void testGenericTypeParameterGuessingExtends() throws Exception {
		expectImports("import java.util.List;\n", "import java.util.ArrayList;\nimport java.util.List;\n");
		assertMethodBodyProposal("List<? extends Number> list= new A|", "ArrayList ", "List<? extends Number> list= new ArrayList<|Number|>");
	}
	
	public void testGenericTypeParameterGuessingSuper() throws Exception {
		expectImports("import java.util.List;\n", "import java.util.ArrayList;\nimport java.util.List;\n");
		assertMethodBodyProposal("List<? super Number> list= new A|", "ArrayList ", "List<? super Number> list= new ArrayList<|E|>");
	}
	
	public void testGenericTypeParameterGuessingMixed() throws Exception {
		expectImports("import java.util.Map;\n", "import java.util.HashMap;\nimport java.util.Map;\n");
		assertMethodBodyProposal("Map<String, ? extends Number> list= new H|", "HashMap ", "Map<String, ? extends Number> list= new HashMap<String, |Number|>");
	}
	
}