use of com.google.cloud.location.MockLocations in project java-datastream by googleapis.
the class DatastreamClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDatastream = new MockDatastream();
mockLocations = new MockLocations();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDatastream, mockLocations));
mockServiceHelper.start();
}
use of com.google.cloud.location.MockLocations in project gapic-generator-java by googleapis.
the class KeyManagementServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockKeyManagementService = new MockKeyManagementService();
mockLocations = new MockLocations();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockKeyManagementService, mockLocations, mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.cloud.location.MockLocations in project java-security-private-ca by googleapis.
the class CertificateAuthorityServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockCertificateAuthorityService = new MockCertificateAuthorityService();
mockLocations = new MockLocations();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockCertificateAuthorityService, mockLocations, mockIAMPolicy));
mockServiceHelper.start();
}
Aggregations