Class FakeApiService

  • All Implemented Interfaces:
    com.google.api.core.ApiService

    public abstract class FakeApiService
    extends com.google.api.core.AbstractApiService
    Fake Pub/Sub Lite service for testing. Used like:
     static abstract class SubscriberFakeService extends FakeApiService implements Subscriber {};
     @Spy private SubscriberFakeService wireSubscriber;
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.api.core.ApiService

        com.google.api.core.ApiService.Listener, com.google.api.core.ApiService.State
    • Constructor Summary

      Constructors 
      Constructor Description
      FakeApiService()  
    • Constructor Detail

      • FakeApiService

        public FakeApiService()
    • Method Detail

      • doStart

        protected void doStart()
        Specified by:
        doStart in class com.google.api.core.AbstractApiService
      • doStop

        protected void doStop()
        Specified by:
        doStop in class com.google.api.core.AbstractApiService