add method useful for testing folding providers
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/DelegatingFoldingStructureProvider.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/DelegatingFoldingStructureProvider.java
index 34dc7c2..6c1cf46 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/DelegatingFoldingStructureProvider.java
+++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/DelegatingFoldingStructureProvider.java
@@ -778,6 +778,12 @@
 		}
 	}
 
+	// for testing
+	public static IFoldingContent createContent(IModelElement input)
+			throws ModelException {
+		return new FoldingContent(input);
+	}
+
 	/**
 	 * @param modelElement
 	 * @param contents