@Override
    public String provideSecret(String secretName, Object pathToSecret) {
        if (pathToSecret != null) {
            return pathToSecret.toString();
        } else {
            return null;
        }
    }
@Test
    public void testConfigValidation() throws Exception {
        ClearTextSecretsProvider provider = new ClearTextSecretsProvider();
        assertEquals(provider.provideSecret("SecretName", "SecretValue"), "SecretValue");
        assertEquals(provider.provideSecret("SecretName", ""), "");
        assertNull(provider.provideSecret("SecretName", null));
    }