use of com.google.api.gax.grpc.testing.MockServiceHelper in project gapic-generator-java by googleapis.
the class CloudRedisClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockCloudRedis = new MockCloudRedis();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockCloudRedis));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project gapic-generator-java by googleapis.
the class IAMPolicyClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class VizierServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockVizierService = new MockVizierService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockVizierService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class ModelServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockModelService = new MockModelService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockModelService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class MigrationServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockMigrationService = new MockMigrationService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockMigrationService));
mockServiceHelper.start();
}
Aggregations