class_docstr: Test the FciL2NCFileHandler reader.
class_docstr_tok: ["Test","the","FciL2NCFileHandler","reader","."]
docstr: Test the area definition computation.
docstr_tok: ["Test","the","area","definition","computation","."]
code: def test_area_definition(self, me_, gad_):
      """Test the area definition computation."""
      self.fh._compute_area_def(
          make_dataid(name="test_area_def", resolution=2000)
      )
  
      # Asserts that the make_ext function was called with the correct arguments
      me_.assert_called_once()
      args, kwargs = me_.call_args
      np.testing.assert_allclose(
          args, [-0.0, -515.6620, 5672.28217, 0.0, 35786400.0]
      )
  
      proj_dict = {
          "a": 6378137.0,
          "lon_0": 0.0,
          "h": 35786400,
          "rf": 298.257223563,
          "proj": "geos",
          "units": "m",
          "sweep": "y",
      }
  
      # Asserts that the get_area_definition function was called with the correct arguments
      gad_.assert_called_once()
      args, kwargs = gad_.call_args
      assert args[0] == "mtg_fci_fdss_2km"
      assert (
          args[1]
          == "MTG FCI Full Disk Scanning Service area definition with 2 km resolution"
      )
      assert args[2] == ""
      assert args[3] == proj_dict
      assert args[4] == 10
      assert args[5] == 100
  
imports: import os
  import unittest
  import uuid
  from contextlib import suppress
  from unittest import mock
  import numpy
  import pytest
  from netCDF4 import Dataset
  from pyresample import geometry
  from satpy.readers.fci_l2_nc import FciL2NCAMVFileHandler, FciL2NCFileHandler, FciL2NCSegmentFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 4 for calling the TestFciL2NCFileHandler obj's underlying member method code with example usage: obj.test_area_definition(me_, gad_) without return types