@Test
    void verifyOperation() throws Throwable {
        val cibaRequestContext = CibaRequestContext.builder()
            .scope(Set.of(OidcConstants.StandardScopes.OPENID.getScope()))
            .clientId(UUID.randomUUID().toString())
            .clientNotificationToken(UUID.randomUUID().toString())
            .bindingMessage(UUID.randomUUID().toString())
            .build();
        val factory = (OidcCibaRequestFactory) defaultTicketFactory.get(OidcCibaRequest.class);
        val ticket = factory.create(cibaRequestContext);
        assertNotNull(ticket);
        assertTrue(ticket.getId().startsWith(OidcCibaRequest.PREFIX));
        assertSame(OidcCibaRequest.class, factory.getTicketType());
        assertEquals(ticket.getClientId(), cibaRequestContext.getClientId());
        val authentication = ticket.getAuthentication();
        assertEquals(authentication.getAttributes().get(OidcConstants.CLIENT_NOTIFICATION_TOKEN).getFirst(), cibaRequestContext.getClientNotificationToken());
        assertEquals(authentication.getAttributes().get(OidcConstants.BINDING_MESSAGE).getFirst(), cibaRequestContext.getBindingMessage());
    }
This is {@link OidcDefaultCibaRequestFactoryTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/ticket/OidcDefaultCibaRequestFactoryTests.java