@Test
public void getStackTrace() {

    Throwable e = new Throwable();
    String stacktrace = ExceptionUtil.getStackTrace(e);
    assertTrue(stacktrace.contains(Throwable.class.getName()));
    assertTrue(stacktrace.contains(ExceptionUtilTest.class.getName() + ".getStackTrace"));
}