@Test public void unwrapNoChildren() {

    Document doc = Jsoup.parse("<div>One <span></span> Two</div>");
    Element span = doc.select("span").first();
    Node node = span.unwrap();
    assertEquals("<div>One  Two</div>", TextUtil.stripNewlines(doc.body().html()));
    assertTrue(node == null);
}