class_docstr: A test of the ELECTRO-L main file handler functions.
docstr: Test get_area_def.
docstr_tok: ["Test","get_area_def","."]
code: def test_get_area_def(self, *mocks):
      """Test get_area_def."""
      example_area_ext = (
          -5566748.0802,
          -1854249.1809,
          5570748.6178,
          2000.2688,
      )
  
      fh = HRITGOMSFileHandler()
      fh.mda = {
          "cfac": 10231753,
          "lfac": 10231753,
          "coff": 1392.0,
          "loff": 0.0,
          "number_of_lines": 464,
          "number_of_columns": 2784,
          "projection_parameters": {"SSP_longitude": 0.0},
      }
      area = fh.get_area_def(True)
  
      assert np.allclose(
          np.array(area.area_extent), np.array(example_area_ext)
      )
  
imports: import datetime
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from xarray import DataArray
  from satpy.readers.electrol_hrit import HRITGOMSEpilogueFileHandler, HRITGOMSFileHandler, HRITGOMSPrologueFileHandler, epilogue, image_acquisition, prologue, recarray2dict, satellite_status
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestHRITGOMSFileHandler obj's underlying member method code with example usage: obj.test_get_area_def() without return types