@RepeatedTest(1)
    @Tag("DisableTicketRegistryTestWithEncryption")
    void verifyConverter() {
        val cmd = new AddTicketMessageQueueCommand(new PublisherIdentifier(),
            new TicketGrantingTicketImpl(UUID.randomUUID().toString(),
                CoreAuthenticationTestUtils.getAuthentication(), NeverExpiresExpirationPolicy.INSTANCE));
        val message = pubSubMessageConverter.toPubSubMessage(cmd, Map.of());
        assertNotNull(message);
        val foundCmd = pubSubMessageConverter.fromPubSubMessage(message, BaseMessageQueueCommand.class);
        assertNotNull(foundCmd);
    }
This is {@link GoogleCloudPubSubTicketRegistryTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-gcp-pubsub-ticket-registry/src/test/java/org/apereo/cas/ticket/registry/GoogleCloudPubSubTicketRegistryTests.java