|
|
@ -35,6 +35,13 @@ public class VaultTest { |
|
|
|
assertTrue(outputStream.toString().startsWith("Configure")); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void exitConfigureMenu(){ |
|
|
|
vlt.inputS = new ByteArrayInputStream("e".getBytes(StandardCharsets.UTF_8)); |
|
|
|
vlt.credentialMenu(); |
|
|
|
assertFalse(vlt.credentialM); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void addCredentialTest() { vlt.addCredential();} |
|
|
|
|
|
|
|