SOP: List profiles of null command throws

This commit is contained in:
Paul Schaub 2023-06-12 14:25:04 +02:00
parent b9c2e8dfe9
commit 2367674151
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 6 additions and 0 deletions

View File

@ -31,4 +31,10 @@ public class ListProfilesTest {
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
sop.listProfiles().subcommand("help"));
}
@Test
public void listProfilesOfNullThrows() {
assertThrows(SOPGPException.UnsupportedProfile.class, () ->
sop.listProfiles().subcommand(null));
}
}