CukedoctorDocumentBuilderImpl extends AsciiDocBuilder implements CukedoctorDocumentBuilder { @Override public CukedoctorDocumentBuilder sectionTitleLevel5(String title) { this.documentBuilder.append("====== ").append(title).append(this.newLine); return this; } CukedoctorDocumentBuilderImpl(); private  CukedoctorDocumentBuilderImpl(int initialTitleNestingLevel); @Override AttributesBuilder attributes(); @Override CukedoctorDocumentBuilder sideBarBlock(String text); @Override CukedoctorDocumentBuilder append(Object... text); @Override CukedoctorDocumentBuilder textLine(String text); @Override CukedoctorDocumentBuilder sectionTitleLevel5(String title); @Override CukedoctorDocumentBuilder title(String title); @Override CukedoctorDocumentBuilder nestTitle(); CukedoctorDocumentBuilder unNestTitle(); @Override CukedoctorDocumentBuilder titleThenNest(String title); void clear(); @Override CukedoctorDocumentBuilder createNestedBuilder(); @Override CukedoctorDocumentBuilder createPeerBuilder();  }
@Test public void shouldRenderLevel5SectionTitle() { builder.sectionTitleLevel5(level5Title); assertDocumentEquals("====== " + level5Title); }