@Bean
        public SubscriptionAdminClient subscriptionAdminClient(
            final GcpPubSubProperties properties) throws Exception {
            val channel = ManagedChannelBuilder.forTarget(properties.getEmulatorHost()).usePlaintext().build();
            val channelProvider =
                FixedTransportChannelProvider.create(GrpcTransportChannel.create(channel));
            return SubscriptionAdminClient.create(
                SubscriptionAdminSettings.newBuilder()
                    .setCredentialsProvider(NoCredentialsProvider.create())
                    .setTransportChannelProvider(channelProvider)
                    .build());
        }
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