You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: metadata.rs
    path of file: ./repos/fluvio/crates/fluvio-connector-package/src
    
    the code of the file until where you have to start completion: use std::{ops::Deref, fmt::Display};

use anyhow::{anyhow, Context};
use openapiv3::{Schema, AnySchema, ReferenceOr, Type, SchemaKind};
use serde::{Serialize, Deserialize};

use fluvio_controlplane_metadata::smartmodule::FluvioSemVersion;

use crate::config::ConnectorConfig;

#[derive(Debug, Clone, Serialize, Deserializ
    
    fn test_validate_custom_config_with_required_fields_present_overriden_name() {
        //given
        let config = serde_yaml::from_str(
            r#"
                json:
                    key: value
                    prop1: 1
                "#,
        )
        .unwrap();
        let mut config_schema =
            CustomConfigSchema::new([("prop1", Type::Integer(Default::default()))], ["prop1"]);
        config_schema.name = Some("json".into());

        //when
        let res = validate_custom_config(&config_schema, &config);

        //then
        assert!(res.is_ok());
    }