@Test
public void testFormatMessage_Throwable() {

    Exception e = new IOException(Exception.class.getName());
    e = new Exception(e.toString(), e);
    assertNotNull(e.getMessage(), e.getMessage());
    CompactFormatter cf = new CompactFormatter();
    String result = cf.formatMessage(e);
    assertEquals(result, Exception.class.getSimpleName());
}