code: def mock_metadata():
      meta = CommonMetadata
      field_meta = FieldMeta()
      field_meta.vocab = VocabStub()
      field_meta.vocab_size = 10
      field_meta.pretrained_embeds_weight = None
      field_meta.unk_token_idx = 0
      meta.features = {"word_feat": field_meta, "dict_feat": field_meta}
      meta.target = field_meta
      return meta
  
file_path: pytext/pytext/models/test/module_test.py
imports: import unittest
  from pytext.config.component import create_model
  from pytext.config.field_config import DictFeatConfig, FeatureConfig, WordFeatConfig
  from pytext.data import CommonMetadata
  from pytext.fields import FieldMeta
  from pytext.models.doc_model import DocModel
label_desc: Use image node_id 1 for calling a global function with example usage: mock_metadata() and returns: meta