String realContent= copyToString(in); in.close(); RefactoringTest.assertEqualLines(message, content, realContent);
try { String realContent= copyToString(in); RefactoringTest.assertEqualLines(message, content, realContent); } finally { in.close(); }
	private void checkContentOfFile(String message, IFile file, String content) throws Exception {		InputStream in= file.getContents();		String realContent= copyToString(in);		in.close();		RefactoringTest.assertEqualLines(message, content, realContent);	}