use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow-cx by googleapis.
the class TestCasesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTestCases = new MockTestCases();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTestCases));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow-cx by googleapis.
the class SecuritySettingsServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSecuritySettingsService = new MockSecuritySettingsService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSecuritySettingsService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow-cx by googleapis.
the class ExperimentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockExperiments = new MockExperiments();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockExperiments));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow-cx by googleapis.
the class SessionEntityTypesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockSessionEntityTypes = new MockSessionEntityTypes();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockSessionEntityTypes));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-spanner by googleapis.
the class InstanceAdminClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockInstanceAdmin = new MockInstanceAdminServiceImpl();
serviceHelper = new MockServiceHelper("in-process-1", Collections.singletonList(mockInstanceAdmin));
serviceHelper.start();
}
Aggregations