assertEquals("incorrect interface created", getFileContents(getOutputTestFileName(newInterfaceName)), interfaceCu.getSource());
AbstractCUTestCase.compareSource(interfaceCu.getSource(), getFileContents(getOutputTestFileName(newInterfaceName)));
	private void validatePassingTest(String className, String[] cuNames, String newInterfaceName, String[] extractedNames, String[][] extractedSignatures, boolean replaceOccurrences) throws Exception {		IType clas= getClassFromTestFile(getPackageP(), className);						ExtractInterfaceRefactoring ref= new ExtractInterfaceRefactoring(clas, JavaPreferencesSettings.getCodeGenerationSettings());		ref.setNewInterfaceName(newInterfaceName);		assertEquals("interface name should be accepted", RefactoringStatus.OK, ref.checkNewInterfaceName(newInterfaceName).getSeverity());				ICompilationUnit[] cus= new ICompilationUnit[cuNames.length];		for (int i= 0; i < cuNames.length; i++) {			cus[i]= createCUfromTestFile(clas.getPackageFragment(), cuNames[i]);					}		ref.setReplaceOccurrences(replaceOccurrences);			IMethod[] extractedMethods= TestUtil.getMethods(clas, extractedNames, extractedSignatures);		ref.setExtractedMembers(extractedMethods);		assertEquals("was supposed to pass", null, performRefactoring(ref));		for (int i= 0; i < cus.length; i++) {			assertEquals("incorrect changes in " + cus[i].getElementName(), getFileContents(getOutputTestFileName(cuNames[i])), cus[i].getSource());		}		ICompilationUnit interfaceCu= clas.getPackageFragment().getCompilationUnit(newInterfaceName + ".java");		assertEquals("incorrect interface created", getFileContents(getOutputTestFileName(newInterfaceName)), interfaceCu.getSource());	}