code: def fixture_file_handler(fake_dataset, request):
      """Create mocked file handler."""
      marker = request.node.get_closest_marker("file_handler_data")
      mask_bad_quality = True
      if marker:
          mask_bad_quality = marker.kwargs["mask_bad_quality"]
      fh_class = request.param
      with mock.patch(
          "satpy.readers.mviri_l1b_fiduceo_nc.xr.open_dataset"
      ) as open_dataset:
          open_dataset.return_value = fake_dataset
          return fh_class(
              filename="filename",
              filename_info={
                  "platform": "MET7",
                  "sensor": "MVIRI",
                  "projection_longitude": "57.0",
              },
              filetype_info={"foo": "bar"},
              mask_bad_quality=mask_bad_quality,
          )
  
imports: from __future__ import annotations
  import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy.readers.mviri_l1b_fiduceo_nc import ALTITUDE, EQUATOR_RADIUS, POLE_RADIUS, DatasetWrapper, FiduceoMviriEasyFcdrFileHandler, FiduceoMviriFullFcdrFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling a global function with example usage: fixture_file_handler(fake_dataset, request) and returns: fh_class