public void ImportSshPublicKey3()
 {
     Mock<OsLoginService.OsLoginServiceClient> mockGrpcClient = new Mock<OsLoginService.OsLoginServiceClient>(MockBehavior.Strict);
     ImportSshPublicKeyRequest request = new ImportSshPublicKeyRequest
     {
         ParentAsUserName = new UserName("[USER]"),
         SshPublicKey = new SshPublicKey(),
     };
     ImportSshPublicKeyResponse expectedResponse = new ImportSshPublicKeyResponse();
     mockGrpcClient.Setup(x => x.ImportSshPublicKey(request, It.IsAny<CallOptions>()))
         .Returns(expectedResponse);
     OsLoginServiceClient client = new OsLoginServiceClientImpl(mockGrpcClient.Object, null);
     ImportSshPublicKeyResponse response = client.ImportSshPublicKey(request);
     Assert.Same(expectedResponse, response);
     mockGrpcClient.VerifyAll();
 }
 public void ImportSshPublicKey2()
 {
     Mock<OsLoginService.OsLoginServiceClient> mockGrpcClient = new Mock<OsLoginService.OsLoginServiceClient>(MockBehavior.Strict);
     ImportSshPublicKeyRequest expectedRequest = new ImportSshPublicKeyRequest
     {
         ParentAsUserName = new UserName("[USER]"),
         SshPublicKey = new SshPublicKey(),
         ProjectId = "projectId-1969970175",
     };
     ImportSshPublicKeyResponse expectedResponse = new ImportSshPublicKeyResponse();
     mockGrpcClient.Setup(x => x.ImportSshPublicKey(expectedRequest, It.IsAny<CallOptions>()))
         .Returns(expectedResponse);
     OsLoginServiceClient client = new OsLoginServiceClientImpl(mockGrpcClient.Object, null);
     UserName parent = new UserName("[USER]");
     SshPublicKey sshPublicKey = new SshPublicKey();
     string projectId = "projectId-1969970175";
     ImportSshPublicKeyResponse response = client.ImportSshPublicKey(parent, sshPublicKey, projectId);
     Assert.Same(expectedResponse, response);
     mockGrpcClient.VerifyAll();
 }