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: custom_cpu_template.rs
    path of file: ./repos/firecracker/src/vmm/src/cpu_config/x86_64
    
    the code of the file until where you have to start completion: // Copyright 2023 Amazon.com, Inc. or its affiliates. All
    
    fn test_get_cpu_template_with_c3_static_template() {
        // Test `get_cpu_template()` when C3 static CPU template is specified. The owned
        // `CustomCpuTemplate` should be returned if CPU vendor is Intel. Otherwise, it should fail.
        let cpu_template = Some(CpuTemplateType::Static(StaticCpuTemplate::C3));
        if &get_vendor_id_from_host().unwrap() == VENDOR_ID_INTEL {
            assert_eq!(
                cpu_template.get_cpu_template().unwrap(),
                Cow::Owned(c3::c3())
            );
        } else {
            assert_eq!(
                cpu_template.get_cpu_template().unwrap_err(),
                GetCpuTemplateError::CpuVendorMismatched,
            );
        }
    }