class_docstr: Unit test class for an already trained model.
class_docstr_tok: ["Unit","test","class","for","an","already","trained","model","."]
docstr: Check the various 'get' methods against known answers for each field.
docstr_tok: ["Check","the","various","'get","'","methods","against","known","answers","for","each","field","."]
code: def test_get(self):
      """
      Check the various 'get' methods against known answers for each field.
      """
      correct_fields = {
          "features": self.features,
          "num_features": self.num_features,
          "target": self.target,
          "method": self.method,
          "num_examples": self.num_examples,
      }
  
      print(self.model)
      for field, ans in correct_fields.items():
          self.assertEqual(
              self.model._get(field), ans, "{} failed".format(field)
          )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import tempfile
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
  from .None import util
  import sys
label_desc: Use image node_id 3 for calling the TextClassifierTest obj's underlying member method code with example usage: obj.test_get() without return types