use of com.google.api.gax.grpc.testing.MockServiceHelper 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.MockServiceHelper 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.MockServiceHelper 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();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class KnowledgeBasesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockKnowledgeBases = new MockKnowledgeBases();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockKnowledgeBases));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class ConversationDatasetsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockConversationDatasets = new MockConversationDatasets();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockConversationDatasets));
mockServiceHelper.start();
}
Aggregations