use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-webrisk by googleapis.
the class WebRiskServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockWebRiskService = new MockWebRiskService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockWebRiskService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-webrisk by googleapis.
the class WebRiskServiceV1Beta1ClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockWebRiskServiceV1Beta1 = new MockWebRiskServiceV1Beta1();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockWebRiskServiceV1Beta1));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-securitycenter by googleapis.
the class SecurityCenterClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSecurityCenter = new MockSecurityCenter();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSecurityCenter));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-document-ai by googleapis.
the class DocumentUnderstandingServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDocumentUnderstandingService = new MockDocumentUnderstandingService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDocumentUnderstandingService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-document-ai by googleapis.
the class DocumentUnderstandingServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDocumentUnderstandingService = new MockDocumentUnderstandingService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDocumentUnderstandingService));
mockServiceHelper.start();
}
Aggregations