class_docstr: Swap-in HDF5 File Handler.
docstr: Mimic reader input file content.
docstr_tok: ["Mimic","reader","input","file","content","."]
code: def get_test_content(self, filename, filename_info, filetype_info):
      """Mimic reader input file content."""
      global_attrs = {
          "/attr/NOMSubSatLat": np.array(0.0),
          "/attr/NOMSubSatLon": np.array(133.0),
          "/attr/NOMSatHeight": np.array(3.5786e7),
          "/attr/Semi_major_axis": np.array(6378.14),
          "/attr/Semi_minor_axis": np.array(6353.28),
          "/attr/OBIType": "REGX",
          "/attr/RegLength": np.array(2.0),
          "/attr/RegWidth": np.array(5.0),
          "/attr/Corner-Point Latitudes": np.array(
              (4.1, 5.1, 4.1, 5.1)
          ),
          "/attr/Corner-Point Longitudes": np.array(
              (141.1, 141.1, 141.1, 151.1)
          ),
          "/attr/Begin Line Number": np.array(0),
          "/attr/End Line Number": np.array(1),
          "/attr/Observing Beginning Date": "2019-06-03",
          "/attr/Observing Beginning Time": "00:30:01.807",
          "/attr/Observing Ending Date": "2019-06-03",
          "/attr/Observing Ending Time": "00:34:07.572",
          "/attr/Satellite Name": "FY4B",
          "/attr/Sensor Identification Code": "GHI",
          "/attr/Sensor Name": "GHI",
      }
  
      data = {}
      if self.filetype_info["file_type"] == "ghi_l1_0250m":
          data = self._get_250m_data("250")
      elif self.filetype_info["file_type"] == "ghi_l1_0500m":
          data = self._get_500m_data("500")
      elif self.filetype_info["file_type"] == "ghi_l1_2000m":
          data = self._get_2km_data("2000")
      elif self.filetype_info["file_type"] == "ghi_l1_2000m_geo":
          data = self._get_geo_data("2000")
  
      test_content = {}
      test_content.update(global_attrs)
      test_content.update(data)
  
      return test_content
  
imports: import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
label_desc: Use image node_id 8 for calling the FakeHDF5FileHandler2 obj's underlying member method code with example usage: obj.get_test_content(filename, filename_info, filetype_info) and returns: test_content