assertNumberOf("proposals", proposals.size(), 1);
assertNumberOfProposals(proposals, 1);
	public void testAssignParamToField4() throws Exception {		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();		store.setValue(PreferenceConstants.CODEGEN_KEYWORD_THIS, true);				IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    private long count;\n");		buf.append("\n");		buf.append("    public void foo(int count) {\n");		buf.append("        count++;\n");		buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);						int offset= buf.toString().indexOf("int count");		AssistContext context= getCorrectionContext(cu, offset, 0);		List proposals= collectAssists(context, false);				assertNumberOf("proposals", proposals.size(), 1);		assertCorrectLabels(proposals);				CUCorrectionProposal proposal= (CUCorrectionProposal) proposals.get(0);		String preview= getPreviewContent(proposal);		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    private long count;\n");		buf.append("    private int count2;\n");		buf.append("\n");		buf.append("    public void foo(int count) {\n");		buf.append("        this.count2 = count;\n");		buf.append("        count++;\n");		buf.append("    }\n");		buf.append("}\n");		assertEqualString(preview, buf.toString());		}