@Test public void testPrependText() {

    Document doc = Jsoup.parse("<div id=1><p>Hello</p></div>");
    Element div = doc.getElementById("1");
    div.prependText("there & now > ");
    assertEquals("there & now > Hello", div.text());
    assertEquals("there &amp; now &gt; <p>Hello</p>", TextUtil.stripNewlines(div.html()));
}