@Test
    void verifyResponseModeForDefault() throws Throwable {
        val registeredService = getOidcRegisteredService("client").setJwks(StringUtils.EMPTY);
        servicesManager.save(registeredService);
        val builder = oauthResponseModeFactory.getBuilder(registeredService, OAuth20ResponseModeTypes.FRAGMENT_JWT);
        assertNotNull(builder);
        val mv = builder.build(registeredService, "https://apereo.github.io",
            Map.of("code", "123456", "state", "abcdef"));
        assertInstanceOf(RedirectView.class, mv.getView());
        val view = (RedirectView) mv.getView();
        val urlBuilder = new URIBuilder(view.getUrl());
        assertTrue(urlBuilder.getFragment().startsWith("response="));
    }
This is {@link OidcResponseModeFragmentJwtBuilderTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/response/OidcResponseModeFragmentJwtBuilderTests.java