class_docstr: Test resampling a Scene to another Scene object.
docstr: Return copy of dataset pretending it was resampled to (20, 20) shape.
docstr_tok: ["Return","copy","of","dataset","pretending","it","was","resampled","to","(","20",",","20",")","shape","."]
code: def _fake_resample_dataset_force_20x20(
      self, dataset, dest_area, **kwargs
  ):
      """Return copy of dataset pretending it was resampled to (20, 20) shape."""
      data = np.zeros((20, 20))
      attrs = dataset.attrs.copy()
      attrs["area"] = dest_area
      return xr.DataArray(
          data,
          dims=("y", "x"),
          attrs=attrs,
      )
  
imports: from unittest import mock
  import numpy
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.dataset.dataid import default_id_keys_config
  from satpy.tests.utils import make_cid, make_dataid
label_desc: Use image node_id 2 for calling the TestSceneResampling obj's underlying member method code with example usage: obj._fake_resample_dataset_force_20x20(dataset, dest_area) and returns: xr