@Test public void getApprolePathReturnsDefaultIfNotSet() { assertThat(vaultConfig.getApprolePath()).isEqualTo("approle"); }
public String getApprolePath() { if (approlePath == null) { return "approle"; } return approlePath; }
HashicorpKeyVaultConfig extends ConfigItem implements KeyVaultConfig { public String getApprolePath() { if (approlePath == null) { return "approle"; } return approlePath; } }
HashicorpKeyVaultConfig extends ConfigItem implements KeyVaultConfig { public String getApprolePath() { if (approlePath == null) { return "approle"; } return approlePath; } HashicorpKeyVaultConfig(String url, String approlePath, Path tlsKeyStorePath, Path tlsTrustStorePath);  HashicorpKeyVaultConfig(); }
HashicorpKeyVaultConfig extends ConfigItem implements KeyVaultConfig { public String getApprolePath() { if (approlePath == null) { return "approle"; } return approlePath; } HashicorpKeyVaultConfig(String url, String approlePath, Path tlsKeyStorePath, Path tlsTrustStorePath);  HashicorpKeyVaultConfig(); String getUrl(); void setUrl(String url); Path getTlsKeyStorePath(); void setTlsKeyStorePath(Path tlsKeyStorePath); Path getTlsTrustStorePath(); void setTlsTrustStorePath(Path tlsTrustStorePath); String getApprolePath(); void setApprolePath(String approlePath); @Override KeyVaultType getKeyVaultType(); }
HashicorpKeyVaultConfig extends ConfigItem implements KeyVaultConfig { public String getApprolePath() { if (approlePath == null) { return "approle"; } return approlePath; } HashicorpKeyVaultConfig(String url, String approlePath, Path tlsKeyStorePath, Path tlsTrustStorePath);  HashicorpKeyVaultConfig(); String getUrl(); void setUrl(String url); Path getTlsKeyStorePath(); void setTlsKeyStorePath(Path tlsKeyStorePath); Path getTlsTrustStorePath(); void setTlsTrustStorePath(Path tlsTrustStorePath); String getApprolePath(); void setApprolePath(String approlePath); @Override KeyVaultType getKeyVaultType();  }