use of com.google.api.gax.grpc.testing.MockGrpcService 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.MockGrpcService 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.MockGrpcService in project java-accessapproval by googleapis.
the class AccessApprovalAdminClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockAccessApproval = new MockAccessApproval();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockAccessApproval));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-orchestration-airflow by googleapis.
the class EnvironmentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEnvironments = new MockEnvironments();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEnvironments));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow by googleapis.
the class IntentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockIntents = new MockIntents();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockIntents));
mockServiceHelper.start();
}
Aggregations