@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withUserAgent("MSIE");
        negociateSpnegoAction.execute(context);
        assertNotNull(context.getHttpServletResponse().getHeader(SpnegoConstants.HEADER_AUTHENTICATE));
        assertEquals(HttpServletResponse.SC_UNAUTHORIZED, context.getHttpServletResponse().getStatus());
    }
This is {@link SpnegoNegotiateCredentialsActionTests}.

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