@Test
    public void readSecondSecretPathOverHttpApi() throws InterruptedException {
        Response response = given()
            .header("X-Vault-Token", VAULT_TOKEN)
            .when()
            .get(vaultContainer.getHttpHostAddress() + "/v1/secret/data/testing2")
            .andReturn();

        assertThat(response.body().jsonPath().getString("data.data.secret_one")).contains("password1");
        assertThat(response.body().jsonPath().getString("data.data.secret_two")).contains("password2");
        assertThat(response.body().jsonPath().getList("data.data.secret_three")).contains("password3");
        assertThat(response.body().jsonPath().getString("data.data.secret_four")).contains("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