class_docstr: Test the FciL2NCSegmentFileHandler reader.
class_docstr_tok: ["Test","the","FciL2NCSegmentFileHandler","reader","."]
docstr: Test the correct execution of the get_dataset function with dims that don't match expected AreaDefinition.
docstr_tok: ["Test","the","correct","execution","of","the","get_dataset","function","with","dims","that","do","n't","match","expected","AreaDefinition","."]
code: def test_dataset_with_adef_and_wrongs_dims(self):
      """Test the correct execution of the get_dataset function with dims that don't match expected AreaDefinition."""
      self.fh = FciL2NCSegmentFileHandler(
          filename=self.seg_test_file,
          filename_info={},
          filetype_info={},
          with_area_definition=True,
      )
      with pytest.raises(NotImplementedError):
          self.fh.get_dataset(
              make_dataid(name="test_wrong_dims", resolution=6000),
              {
                  "name": "test_wrong_dims",
                  "file_key": "test_values",
                  "fill_value": -999,
              },
          )
  
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 7 for calling the TestFciL2NCSegmentFileHandler obj's underlying member method code with example usage: obj.test_dataset_with_adef_and_wrongs_dims() without return types