@Test
    void verifyOperation() throws Throwable {
        assertEquals(OidcBackchannelTokenDeliveryModes.PUSH, oidcCibaPushTokenDeliveryHandler.getDeliveryMode());
        try (val webServer = new MockWebServer(true)) {
            webServer.start();
            val registeredService = getOidcRegisteredService(UUID.randomUUID().toString());
            registeredService.setBackchannelTokenDeliveryMode(OidcBackchannelTokenDeliveryModes.PUSH.getMode());
            registeredService.setSupportedGrantTypes(Set.of(OAuth20GrantTypes.CIBA.getType()));
            registeredService.setBackchannelClientNotificationEndpoint("https://localhost:%s".formatted(webServer.getPort()));
            servicesManager.save(registeredService);
            
            assertTrue(oidcCibaPushTokenDeliveryHandler.supports(registeredService));
            
            val principal = RegisteredServiceTestUtils.getPrincipal(UUID.randomUUID().toString());
            val delivery = oidcCibaPushTokenDeliveryHandler.deliver(registeredService, newCibaRequest(registeredService, principal));
            assertTrue(delivery.containsKey(OAuth20Constants.ACCESS_TOKEN));
            assertTrue(delivery.containsKey(OAuth20Constants.EXPIRES_IN));
            assertTrue(delivery.containsKey(OAuth20Constants.TOKEN_TYPE));
            assertTrue(delivery.containsKey(OidcConstants.ID_TOKEN));
            assertTrue(delivery.containsKey(OidcConstants.AUTH_REQ_ID));
        }
    }
This is {@link CibaPushTokenDeliveryHandlerTests}.

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