diff --git a/src/main/java/Vault.java b/src/main/java/Vault.java index 70d4b52..e377411 100644 --- a/src/main/java/Vault.java +++ b/src/main/java/Vault.java @@ -1,3 +1,23 @@ public class Vault implements VaultInterface { + public void configure(){ + + } + + public void addCredential(){ + + } + + public void showCredential(){ + + } + + public void getAsJson(){ + + } + + public void loadFromJson(){ + + } + } diff --git a/src/main/java/VaultInterface.java b/src/main/java/VaultInterface.java index 471dbd2..50bbd1d 100644 --- a/src/main/java/VaultInterface.java +++ b/src/main/java/VaultInterface.java @@ -2,4 +2,10 @@ public interface VaultInterface { + public void configure(); + public void addCredential(); + public void showCredential(); + public void getAsJson(); + public void loadFromJson(); + } diff --git a/src/test/java/VaultTest.java b/src/test/java/VaultTest.java index d0e306d..0b3e72f 100644 --- a/src/test/java/VaultTest.java +++ b/src/test/java/VaultTest.java @@ -9,4 +9,32 @@ import java.util.NoSuchElementException; public class VaultTest { + static Vault vlt; + + @BeforeAll + static void init() { + vlt = new Vault(); + } + + /* @BeforeEach + void reset() { + pm.outputStream = System.out; + pm.inputStream = System.in; + }*/ + + @Test + void configure() {vlt.configure();} + + @Test + void addCredential() {vlt.addCredential();} + + @Test + void showCredential() {vlt.showCredential();} + + @Test + void getAsJson() {vlt.getAsJson();} + + @Test + void loadFromJson() {vlt.loadFromJson();} + }