plugins/vault/src/integrationTest/java/co/elastic/gradle/vault/VaultPluginIT.java [92:103]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        final BuildResult result = gradleRunner
                .withEnvironment(Collections.singletonMap("MY_ENV_TOKEN", "my-root-token"))
                .withArguments("--warning-mode", "fail", "-s", "help")
                .build();
        assertContains(result.getOutput(), "top_secret is password1");
        assertContains(result.getOutput(), "db_password is dbpassword1");
        assertCacheLocationExists(".gradle/secrets/secret/testing2");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/leaseExpiration");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/data");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/data/db_password");
        assertCacheLocationDoesNotExists(".gradle/secrets/secret/testing/data/top_secret");
        assertCacheLocationDoesNotExists(".gradle/secrets/secret/testing2/data/top_secret");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



plugins/vault/src/integrationTest/java/co/elastic/gradle/vault/VaultPluginIT.java [235:246]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        final BuildResult result = gradleRunner
                .withEnvironment(Collections.singletonMap("MY_ENV_TOKEN", "my-root-token"))
                .withArguments("--warning-mode", "fail", "-s", "help")
                .build();
        assertContains(result.getOutput(), "top_secret is password1");
        assertContains(result.getOutput(), "db_password is dbpassword1");
        assertCacheLocationExists(".gradle/secrets/secret/testing2");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/leaseExpiration");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/data");
        assertCacheLocationExists(".gradle/secrets/secret/testing2/data/db_password");
        assertCacheLocationDoesNotExists(".gradle/secrets/secret/testing/data/top_secret");
        assertCacheLocationDoesNotExists(".gradle/secrets/secret/testing2/data/top_secret");
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



