@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.addHeader(HttpHeaders.AUTHORIZATION,
            SpnegoConstants.NEGOTIATE + ' ' + EncodingUtils.encodeBase64("credential"));
        spnegoAction.execute(context);
        assertNotNull(context.getHttpServletResponse().getHeader(SpnegoConstants.HEADER_AUTHENTICATE));
    }
This is {@link SpnegoCredentialsActionTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-spnego-webflow/src/test/java/org/apereo/cas/web/flow/SpnegoCredentialsActionTests.java