Debian Codegraph @

kms/encrypt_test.go

raw symbols SCIP
1 package kms
2
3 import "testing"
4
5 func TestClient_Encrypt(t *testing.T) {
6 args := &EncryptAgrs{
7 KeyId: TestKeyId,
8 Plaintext: "abc",
9 EncryptionContext: encryptionContext,
10 }
11
12 response, err := debugClient.Encrypt(args)
13 if err != nil {
14 t.Fatalf("Error %++v", err)
15 } else {
16 t.Logf("Result = %++v", response)
17 }
18 }