@Test
    void verifyUnrecognizedParam() {
        filterConfig.addInitParameter("bad-param", "bad-value");
        assertThrows(RuntimeException.class, () -> filter.init(filterConfig));
    }
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