@Test
public void testFinish() {

    CollectorFormatter f = new CollectorFormatter();
    String format = LINE_SEP + f.getClass().getName() + LINE_SEP;
    assertFalse(f.getClass().getName().equals(format));
    assertEquals(f.getClass().getName(), f.finish(format));
}