@Test public void testFingerprint() { Exception cause = new RuntimeException("cause"); Exception r1 = new RuntimeException("exception message"); r1.fillInStackTrace(); Exception r2 = new RuntimeException("exception message", cause); r2.fillInStackTrace(); IStatus s1 = new Status(IStatus.ERROR, "org.eclipse.epp.logging.aeri", "some error message", r1); IStatus s2 = new Status(IStatus.ERROR, "org.eclipse.epp.logging.aeri", "some error message", r2); org.eclipse.epp.internal.logging.aeri.ui.model.Status noCause = Reports.newStatus(s1, configuration); org.eclipse.epp.internal.logging.aeri.ui.model.Status withCause = Reports.newStatus(s2, configuration); Assert.assertNotEquals(noCause.getFingerprint(), withCause.getFingerprint()); }