LoggingUncaughtExceptionHandler { public static UncaughtExceptionHandler getInstance() { return handler; } LoggingUncaughtExceptionHandler(); static UncaughtExceptionHandler getInstance(); static void setOnThread(final Thread thread); static void setFailureSetter(final FailureSetter failureSetter); static int getUncaughtExceptionsCount(); static void clearUncaughtExceptionsCount();  }
@Test public void verifyGetInstanceIsNotNull() { UncaughtExceptionHandler handler = LoggingUncaughtExceptionHandler.getInstance(); assertThat(handler).isNotNull(); }