public ValidationResult validateSecretsConfig(final String pluginId, final Map<String, String> configuration) {
        return getVersionedSecretsExtension(pluginId).validateSecretsConfig(pluginId, configuration);
    }
@Test
    void validateSecretsConfig_shouldDelegateToVersionedExtension() {
        SecretsExtensionV1 secretsExtensionV1 = mock(SecretsExtensionV1.class);
        Map<String, VersionedSecretsExtension> secretsExtensionMap = Map.of("1.0", secretsExtensionV1);
        extension = new SecretsExtension(pluginManager, extensionsRegistry, secretsExtensionMap);
        Map<String, String> configuration = Map.of("key", "val");

        when(pluginManager.resolveExtensionVersion(PLUGIN_ID, SECRETS_EXTENSION, SUPPORTED_VERSIONS)).thenReturn(SecretsExtensionV1.VERSION);

        this.extension.validateSecretsConfig(PLUGIN_ID, configuration);

        verify(secretsExtensionV1).validateSecretsConfig(PLUGIN_ID, configuration);
    }