class_docstr: Test the BaseFileHandler.
class_docstr_tok: ["Test","the","BaseFileHandler","."]
docstr: Combine area.
docstr_tok: ["Combine","area","."]
code: def test_combine_area(self, sdef):
      """Combine area."""
      area1 = mock.MagicMock()
      area1.lons = np.arange(5)
      area1.lats = np.arange(5)
      area1.name = "area1"
  
      area2 = mock.MagicMock()
      area2.lons = np.arange(5)
      area2.lats = np.arange(5)
      area2.name = "area2"
  
      info1 = {"area": area1}
      info2 = {"area": area2}
  
      self.fh.combine_info([info1, info2])
      assert sdef.call_args[1]["lons"].shape == (2, 5)
      assert sdef.call_args[1]["lats"].shape == (2, 5)
      assert sdef.return_value.name == "area1_area2"
  
file_path: satpy/satpy/tests/test_file_handlers.py
imports: import unittest
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.file_handlers import BaseFileHandler, open_dataset
  from satpy.tests.utils import FakeFileHandler
label_desc: Use image node_id 4 for calling the TestBaseFileHandler obj's underlying member method code with example usage: obj.test_combine_area(sdef) without return types