@Test
public void testTraceOnStackTraceElement() {

  final Thread th = Thread.currentThread();
  final StackTraceElement[] elements = th.getStackTrace();
  assertNull(ExceptionUtils.trace(null));
  assertNotNull(ExceptionUtils.trace(elements));
}