@Test
    public void readSecondSecretPathOverClientLibrary() throws Exception {
        final VaultConfig config = new VaultConfig()
            .address(vaultContainer.getHttpHostAddress())
            .token(VAULT_TOKEN)
            .build();

        final Vault vault = new Vault(config);
        final Map<String, String> value = vault.logical().read("secret/testing2").getData();

        assertThat(value)
            .containsEntry("secret_one", "password1")
            .containsEntry("secret_two", "password2")
            .containsEntry("secret_three", "[\"password3\",\"password3\"]")
            .containsEntry("secret_four", "password4");
    }
This test shows the pattern to use the VaultContainer @ClassRule for a junit test. It also has tests that ensure
the secrets were added correctly by reading from Vault with the CLI, over HTTP and over Client Library.
modules/vault/src/test/java/org/testcontainers/vault/VaultContainerTest.java