public void sleep(long millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            throw new IllegalStateException(e);
        }
    }
Unit test for the {@link DelegatingSession} class.
core/src/test/java/org/apache/shiro/session/mgt/DelegatingSessionTest.java