code: def test_feat_extract_properties(self):
      feature_extractor = self.feature_extraction_class(
          **self.feat_extract_dict
      )
      self.assertTrue(hasattr(feature_extractor, "do_resize"))
      self.assertTrue(hasattr(feature_extractor, "size"))
      self.assertTrue(hasattr(feature_extractor, "apply_ocr"))
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/models/layoutlmv2/test_feature_extraction_layoutlmv2.py
imports: import unittest
  import numpy
  from transformers.testing_utils import require_pytesseract, require_torch
  from transformers.utils import is_pytesseract_available, is_torch_available
  from ...test_feature_extraction_common import FeatureExtractionSavingTestMixin, prepare_image_inputs
label_desc: Use image node_id 3 for calling the LayoutLMv2FeatureExtractionTest obj's underlying member method code with example usage: obj.test_feat_extract_properties() without return types