use of com.google.api.gax.grpc.testing.MockGrpcService in project java-bigquerystorage by googleapis.
the class BigQueryWriteClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockBigQueryWrite = new MockBigQueryWrite();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockBigQueryWrite));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-datastream by googleapis.
the class DatastreamClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDatastream = new MockDatastream();
mockLocations = new MockLocations();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDatastream, mockLocations));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-recommendations-ai by googleapis.
the class PredictionApiKeyRegistryClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockPredictionApiKeyRegistry = new MockPredictionApiKeyRegistry();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockPredictionApiKeyRegistry));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-recommendations-ai by googleapis.
the class PredictionServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockPredictionService = new MockPredictionService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockPredictionService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-recommendations-ai by googleapis.
the class UserEventServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockUserEventService = new MockUserEventService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockUserEventService));
mockServiceHelper.start();
}
Aggregations