@Test public void testSectionLead() {

    // Section 0 is the lead
    Section section = new Section(0, 0, "Heading", "Heading", "Content");
    assertThat(section.isLead(), is(true));
    // Section 1 is not
    section = new Section(1, 1, "Heading", "Heading", "Content");
    assertThat(section.isLead(), is(false));
    // Section 1 is not, even if it's somehow at level 0
    section = new Section(1, 0, "Heading", "Heading", "Content");
    assertThat(section.isLead(), is(false));
}