public void check_exception_tracking()
{
Throwable t1 = new RuntimeException();
Throwable t2 = new RuntimeException();
ExceptionTracker et = new ExceptionTrackerImpl();
for (int i = 0; i < 3; i++)
{
assertEquals(et.exceptionLogged(t1), i != 0);
assertEquals(et.exceptionLogged(t2), i != 0);
}
}