Bug 100551 [quick fix] Wrong quick fix label: Change type to 'List<>'
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/QuickFixTest.java
}	
	
	
	public static void assertNumberOf(String name, int nProblems, int nProblemsExpected) {
		assertTrue("Wrong number of " + name + ", is: " + nProblems + ", expected: " + nProblemsExpected, nProblems == nProblemsExpected);
	}
	
	
	public static void assertEqualString(String actual, String expected) {	
		StringAsserts.assertEqualString(actual, expected);
	}
	
	public static void assertEqualStringIgnoreDelim(String actual, String expected) throws IOException {
		StringAsserts.assertEqualStringIgnoreDelim(actual, expected);
	}	
	
	public static void assertEqualStringsIgnoreOrder(String[] actuals, String[] expecteds) {
		StringAsserts.assertEqualStringsIgnoreOrder(actuals, expecteds);			
	}
	
	
	public static void assertExpectedExistInProposals(List actualProposals, String[] expecteds) throws CoreException, BadLocationException {
		ArrayList actuals= new ArrayList(actualProposals.size());
		for (int i= 0; i < actualProposals.size(); i++) {
			Object curr= actualProposals.get(i);
			if (curr instanceof CUCorrectionProposal) {
				actuals.add(getPreviewContent((CUCorrectionProposal) curr));
			} else if (curr instanceof NewCUCompletionUsingWizardProposal) {
				actuals.add(getWizardPreviewContent((NewCUCompletionUsingWizardProposal) curr));
			}