@Test(timeout = 30000)
public void testApplyEvil() {

    SeverityComparator a = new SeverityComparator();
    final int len = 7;
    final Class<? extends Throwable> type = Exception.class;
    Throwable l = a.apply(createEvilThrowable(type, len));
    assertEquals(type, l.getClass());
}