assertNumberOf("proposals", proposals.size(), 3);
assertNumberOfProposals(proposals, 3);
	public void testVarMultipleOccurances1() throws Exception {		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    void foo() {\n");		buf.append("        for (i= 0; i > 9; i++) {\n");		buf.append("        }\n");				buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);				CompilationUnit astRoot= getASTRoot(cu);		ArrayList proposals= collectCorrections(cu, astRoot, 3);		assertNumberOf("proposals", proposals.size(), 3);		assertCorrectLabels(proposals);				CUCorrectionProposal localProposal= null;		for (int i = 0; i < proposals.size(); i++) {			Object curr= proposals.get(i);			if (curr instanceof NewVariableCompletionProposal && ((NewVariableCompletionProposal) curr).getVariableKind() == NewVariableCompletionProposal.LOCAL) {				localProposal= (CUCorrectionProposal) curr;			}		}		assertNotNull(localProposal);				String preview= getPreviewContent(localProposal);		buf= new StringBuffer();			buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    void foo() {\n");		buf.append("        for (int i = 0; i > 9; i++) {\n");		buf.append("        }\n");				buf.append("    }\n");		buf.append("}\n");		String expected= buf.toString();		assertEqualString(preview, expected);		}	