use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-aiplatform by googleapis.
the class FeaturestoreServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockFeaturestoreService = new MockFeaturestoreService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockFeaturestoreService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-resourcemanager by googleapis.
the class TagBindingsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTagBindings = new MockTagBindings();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTagBindings));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-recaptchaenterprise by googleapis.
the class RecaptchaEnterpriseServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockRecaptchaEnterpriseService = new MockRecaptchaEnterpriseService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockRecaptchaEnterpriseService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-video-transcoder by googleapis.
the class TranscoderServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockTranscoderService = new MockTranscoderService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockTranscoderService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-scheduler by googleapis.
the class CloudSchedulerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockCloudScheduler = new MockCloudScheduler();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockCloudScheduler));
mockServiceHelper.start();
}
Aggregations