use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class IndexEndpointServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockIndexEndpointService = new MockIndexEndpointService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockIndexEndpointService));
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();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class MetadataServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockMetadataService = new MockMetadataService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockMetadataService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class PipelineServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockPipelineService = new MockPipelineService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockPipelineService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class EndpointServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEndpointService = new MockEndpointService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEndpointService));
mockServiceHelper.start();
}
Aggregations