@Test
void testInvalidAddress() {

  VaultConfigSource vaultConfigSource =
      VaultConfigSource.builder()
          .config(c -> c.token(vaultContainerExtension.vaultInstance().rootToken()))
          .config(c -> c.address("http://invalid.host.local:8200"))
          .addSecretsPath(VAULT_SECRETS_PATH1)
          .build();
  assertThrows(ConfigSourceNotAvailableException.class, vaultConfigSource::loadConfig);
}