@Test
public void testByThrownAndThrownSeq() {

    LogRecord r1 = new LogRecord(Level.INFO, Level.INFO.toString());
    LogRecord r2 = new LogRecord(Level.INFO, Level.INFO.toString());
    assertTrue(r1.getSequenceNumber() < r2.getSequenceNumber());
    assertTrue(r1.getSequenceNumber() < r2.getSequenceNumber());
    r1.setThrown(new Error());
    r2.setThrown(new Error());
    assertRecordLessThan(r1, r2);
    assertTrue(r1.getSequenceNumber() < r2.getSequenceNumber());
    r1.setThrown(new RuntimeException());
    r2.setThrown(new RuntimeException());
    assertRecordLessThan(r1, r2);
    assertTrue(r1.getSequenceNumber() < r2.getSequenceNumber());
    r1.setThrown(new Exception());
    r2.setThrown(new Exception());
    assertRecordLessThan(r1, r2);
}