(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestCovDecryptWithoutEncryptionMethod(t *testing.T) { |
| 20 | el := etree.NewElement("EncryptedData") |
| 21 | _, err := Decrypt([]byte{}, el) |
| 22 | assert.Check(t, is.Error(err, ErrCannotFindRequiredElement("EncryptionMethod").Error())) |
| 23 | } |
| 24 | |
| 25 | func TestCovGetCiphertext(t *testing.T) { |
| 26 | t.Run("missing", func(t *testing.T) { |
nothing calls this directly
no test coverage detected