use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dataproc by googleapis.
the class ClusterControllerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockClusterController = new MockClusterController();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockClusterController));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dataproc by googleapis.
the class JobControllerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockJobController = new MockJobController();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockJobController));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-billingbudgets by googleapis.
the class BudgetServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockBudgetService = new MockBudgetService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockBudgetService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-billingbudgets by googleapis.
the class BudgetServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockBudgetService = new MockBudgetService();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockBudgetService));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-websecurityscanner by googleapis.
the class WebSecurityScannerClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockWebSecurityScanner = new MockWebSecurityScanner();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockWebSecurityScanner));
mockServiceHelper.start();
}
Aggregations