class_docstr: Tests for the GLM L2 reader.
docstr: Create a fake file handler to test.
docstr_tok: ["Create","a","fake","file","handler","to","test","."]
code: def setUp(self, xr_):
      """Create a fake file handler to test."""
      from satpy.readers.glm_l2 import NCGriddedGLML2
  
      fake_dataset = setup_fake_dataset()
      xr_.open_dataset.return_value = fake_dataset
      self.reader = NCGriddedGLML2(
          "filename",
          {
              "platform_shortname": "G16",
              "scene_abbr": "C",
              "scan_mode": "M3",
          },
          {"filetype": "glm_l2_imagery"},
      )
  
file_path: satpy/satpy/tests/reader_tests/test_glm_l2.py
imports: import os
  import unittest
  from unittest import mock
  import numpy
  import xarray
label_desc: Use image node_id 1 for calling the TestGLML2FileHandler obj's underlying member method code with example usage: obj.setUp(xr_) without return types