@Test
    void verifyOperation() throws Throwable {
        val input = new ThrottledSubmissionHandlerInterceptor() {
        };
        assertNotNull(input.getName());
        assertFalse(input.exceedsThreshold(new MockHttpServletRequest()));
        assertTrue(input.preHandle(new MockHttpServletRequest(), new MockHttpServletResponse(), new Object()));

        assertDoesNotThrow(() -> {
            input.release();
            input.recordSubmissionFailure(new MockHttpServletRequest());
            input.postHandle(new MockHttpServletRequest(), new MockHttpServletResponse(), new Object(), new ModelAndView());
            input.afterConcurrentHandlingStarted(new MockHttpServletRequest(), new MockHttpServletResponse(), new Object());
            input.afterCompletion(new MockHttpServletRequest(), new MockHttpServletResponse(), new Object(), new RuntimeException());
        });
    }
This is {@link ThrottledSubmissionHandlerInterceptorTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-throttle/src/test/java/org/apereo/cas/web/support/ThrottledSubmissionHandlerInterceptorTests.java