@Override
            protected Optional<RegisteredService> prepareFilterBeforeExecution(final HttpServletResponse httpServletResponse, final HttpServletRequest httpServletRequest) {
                throw new RuntimeException(new IllegalArgumentException(new NoSuchConversationException(new SimpleConversationId(UUID.randomUUID().toString()))));
            }
This is {@link ResponseHeadersEnforcementFilterTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-web-api/src/test/java/org/apereo/cas/web/support/filters/ResponseHeadersEnforcementFilterTests.java