1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-16 08:34:53 +02:00

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

View file

@ -26,6 +26,11 @@ public class ListProfilesTest {
assertFalse(sop.listProfiles().subcommand("generate-key").isEmpty()); assertFalse(sop.listProfiles().subcommand("generate-key").isEmpty());
} }
@Test
public void listProfilesOfEncrypt() {
assertFalse(sop.listProfiles().encrypt().isEmpty());
}
@Test @Test
public void listProfilesOfHelpCommandThrows() { public void listProfilesOfHelpCommandThrows() {
assertThrows(SOPGPException.UnsupportedProfile.class, () -> assertThrows(SOPGPException.UnsupportedProfile.class, () ->