Test list-profiles of encrypt subcommand

This commit is contained in:
Paul Schaub 2023-06-12 14:28:53 +02:00
parent 2367674151
commit 08ce7c099c
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 5 additions and 0 deletions

View File

@ -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, () ->