@Test
public void testFooter() throws IOException {

    String footer = "------------";
    helpFormatter.setFooter(footer);
    Writer writer = mock(Writer.class);
    helpFormatter.footer(writer);
    verify(helpFormatter).line(writer, footer);
}