Package com.google.cloud.pubsub.testing

A testing helper for Google Cloud Pub/Sub.

See: Description

Package com.google.cloud.pubsub.testing Description

A testing helper for Google Cloud Pub/Sub.

A simple usage example:

Before the test:

 LocalPubSubHelper helper = LocalPubSubHelper.create();
 helper.start();
 PubSub localPubsub = helper.options().service();
  

After the test:

 helper.stop();
  
See Also:
gcloud-java tools for testing

Copyright © 2016 Google. All rights reserved.