From 08ce7c099c8b7f3be7dc54b697af6f5ee3d8c630 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 12 Jun 2023 14:28:53 +0200 Subject: [PATCH] Test list-profiles of encrypt subcommand --- .../src/test/java/org/pgpainless/sop/ListProfilesTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pgpainless-sop/src/test/java/org/pgpainless/sop/ListProfilesTest.java b/pgpainless-sop/src/test/java/org/pgpainless/sop/ListProfilesTest.java index 71b8cc04..9158f11e 100644 --- a/pgpainless-sop/src/test/java/org/pgpainless/sop/ListProfilesTest.java +++ b/pgpainless-sop/src/test/java/org/pgpainless/sop/ListProfilesTest.java @@ -26,6 +26,11 @@ public class ListProfilesTest { assertFalse(sop.listProfiles().subcommand("generate-key").isEmpty()); } + @Test + public void listProfilesOfEncrypt() { + assertFalse(sop.listProfiles().encrypt().isEmpty()); + } + @Test public void listProfilesOfHelpCommandThrows() { assertThrows(SOPGPException.UnsupportedProfile.class, () ->