|
@ -93,6 +93,13 @@ public class VaultTest { |
|
|
|
|
|
|
|
|
assertTrue(outputStream.toString().contains("Type")); |
|
|
assertTrue(outputStream.toString().contains("Type")); |
|
|
assertTrue(vlt.isInt); |
|
|
assertTrue(vlt.isInt); |
|
|
|
|
|
|
|
|
|
|
|
vlt.outputS = outputStream; |
|
|
|
|
|
vlt.inputS = new ByteArrayInputStream("peter".getBytes(StandardCharsets.UTF_8)); |
|
|
|
|
|
vlt.showCredential(); |
|
|
|
|
|
|
|
|
|
|
|
assertTrue(outputStream.toString().contains("Type")); |
|
|
|
|
|
assertFalse(vlt.isInt); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|