@Test public void testNoneHeading() { Document document = Jsoup.parseBodyFragment( "<p><b>This is a group heading:</b></p><p>This is not a group heading</p><p>This is not a group heading.</p>"); manipulator.manipulate(document); Elements h2s = document.select("h2"); assertEquals(0, h2s.size()); }
@Override public void manipulate(Document document) { addHeading(document, true, "h1"); addHeading(document, false, "h2"); }
Jsp101Headings implements ContentManipulator { @Override public void manipulate(Document document) { addHeading(document, true, "h1"); addHeading(document, false, "h2"); } }
Jsp101Headings implements ContentManipulator { @Override public void manipulate(Document document) { addHeading(document, true, "h1"); addHeading(document, false, "h2"); }  }
Jsp101Headings implements ContentManipulator { @Override public void manipulate(Document document) { addHeading(document, true, "h1"); addHeading(document, false, "h2"); }  @Override void manipulate(Document document); }
Jsp101Headings implements ContentManipulator { @Override public void manipulate(Document document) { addHeading(document, true, "h1"); addHeading(document, false, "h2"); }  @Override void manipulate(Document document);  }