use of com.google.iam.v1.MockIAMPolicy in project java-kms by googleapis.
the class KeyManagementServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockKeyManagementService = new MockKeyManagementService();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockKeyManagementService, mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.iam.v1.MockIAMPolicy in project java-kms by googleapis.
the class EkmServiceClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEkmService = new MockEkmService();
mockIAMPolicy = new MockIAMPolicy();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEkmService, mockIAMPolicy));
mockServiceHelper.start();
}
use of com.google.iam.v1.MockIAMPolicy 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