code: def test_custom_bert_spec(self):
      custom_bert_classifier_options = (
          classifier_model_options.BertModelOptions(
              seq_len=512, do_fine_tuning=False, dropout_rate=0.3
          )
      )
      model_spec_obj = ms.SupportedModels.MOBILEBERT_CLASSIFIER.value(
          model_options=custom_bert_classifier_options
      )
      self.assertEqual(
          model_spec_obj.model_options, custom_bert_classifier_options
      )
  
file_path: mediapipe/mediapipe/model_maker/python/text/text_classifier/model_spec_test.py
imports: import os
  import tempfile
  from unittest import mock
  import tensorflow
  from mediapipe.model_maker.python.text.text_classifier import hyperparameters
  from mediapipe.model_maker.python.text.text_classifier import model_options
  from mediapipe.model_maker.python.text.text_classifier import model_spec
label_desc: Use image node_id 4 for calling the ModelSpecTest obj's underlying member method code with example usage: obj.test_custom_bert_spec() without return types