@Override
    public String provideSecret(String secretName, Object pathToSecret) {
        return System.getenv(secretName);
    }
@Test
    public void testConfigValidation() throws Exception {
        EnvironmentBasedSecretsProvider provider = new EnvironmentBasedSecretsProvider();
        assertNull(provider.provideSecret("mySecretName", "Ignored"));
        SystemLambda.withEnvironmentVariable("mySecretName", "SecretValue").execute(() -> {
            assertEquals(provider.provideSecret("mySecretName", "Ignored"), "SecretValue");
        });
    }