public int getDepth(Throwable ex) {
        return getDepth(ex.getClass(), 0);
    }
@Test
    public void notFound() {
        RollbackRule rr = new RollbackRule(java.io.IOException.class.getName());
        assertThat(rr.getDepth(new MyRuntimeException(""))).isEqualTo(-1);
    }