@Test
public void testApply() {

    CompactFormatter cf = new CompactFormatter();
    cf.apply((Throwable) null);
    final Throwable t = new Throwable();
    Throwable e = cf.apply(t);
    assertSame(t, e);
}