(t *testing.T)
| 101 | } |
| 102 | |
| 103 | func TestMasterKey_SetEncryptedDataKey(t *testing.T) { |
| 104 | enc := "encrypted key" |
| 105 | key := &MasterKey{} |
| 106 | key.SetEncryptedDataKey([]byte(enc)) |
| 107 | assert.EqualValues(t, enc, key.EncryptedDataKey()) |
| 108 | } |
| 109 | |
| 110 | func TestMasterKey_ToString(t *testing.T) { |
| 111 | rsrcId := testResourceID |
nothing calls this directly
no test coverage detected