@Test
    void verifyOperation() throws Throwable {
        assertEquals(OidcBackchannelTokenDeliveryModes.PING, oidcCibaPingTokenDeliveryHandler.getDeliveryMode());
        try (val webServer = new MockWebServer(true)) {
            webServer.start();
            val registeredService = getOidcRegisteredService(UUID.randomUUID().toString());
            registeredService.setBackchannelTokenDeliveryMode(OidcBackchannelTokenDeliveryModes.PING.getMode());
            registeredService.setSupportedGrantTypes(Set.of(OAuth20GrantTypes.CIBA.getType()));
            registeredService.setBackchannelClientNotificationEndpoint("https://localhost:%s".formatted(webServer.getPort()));
            servicesManager.save(registeredService);
            
            assertTrue(oidcCibaPingTokenDeliveryHandler.supports(registeredService));
            
            val principal = RegisteredServiceTestUtils.getPrincipal(UUID.randomUUID().toString());
            val cibaRequest = newCibaRequest(registeredService, principal);
            val delivery = oidcCibaPingTokenDeliveryHandler.deliver(registeredService, cibaRequest);
            assertTrue(delivery.containsKey(OidcConstants.AUTH_REQ_ID));
            val ticket = ticketRegistry.getTicket(cibaRequest.getId(), OidcCibaRequest.class);
            assertNotNull(ticket);
            assertTrue(ticket.isReady());
        }
    }
This is {@link CibaPingTokenDeliveryHandlerTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/token/ciba/CibaPingTokenDeliveryHandlerTests.java