class_docstr: Test case for image reading (jp2k).
class_docstr_tok: ["Test","case","for","image","reading","(","jp2k",")","."]
docstr: Set up the test.
docstr_tok: ["Set","up","the","test","."]
code: def setup_method(self):
      """Set up the test."""
      from satpy.readers.msi_safe import SAFEMSITileMDXML
  
      self.filename_info = dict(
          observation_time=None,
          fmission_id="S2A",
          band_name="B01",
          dtile_number=None,
      )
      self.fake_data = xr.Dataset(
          {
              "band_data": xr.DataArray(
                  [[[0, 1], [65534, 65535]]], dims=["band", "x", "y"]
              )
          }
      )
      self.tile_mda = mock.create_autospec(SAFEMSITileMDXML)(
          BytesIO(mtd_tile_xml), self.filename_info, mock.MagicMock()
      )
  
file_path: satpy/satpy/tests/reader_tests/test_msi_safe.py
imports: import unittest.mock
  from io import BytesIO, StringIO
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 1 for calling the TestSAFEMSIL1C obj's underlying member method code with example usage: obj.setup_method() without return types