use of com.google.api.gax.grpc.testing.MockGrpcService in project java-speech by googleapis.
the class SpeechClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSpeech = new MockSpeech();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSpeech));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-storage by googleapis.
the class StorageClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockStorage = new MockStorage();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockStorage));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow-cx by googleapis.
the class TransitionRouteGroupsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTransitionRouteGroups = new MockTransitionRouteGroups();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTransitionRouteGroups));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow-cx by googleapis.
the class DeploymentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDeployments = new MockDeployments();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDeployments));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow-cx by googleapis.
the class EntityTypesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEntityTypes = new MockEntityTypes();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEntityTypes));
mockServiceHelper.start();
}
Aggregations