code: def test_fetch_img_reprojected_twoparts(self):
      source = ogc.WMTSRasterSource(self.URI, self.layer_name)
      extent = [-10, 12, 48, 50]
      images = source.fetch_raster(
          ccrs.NorthPolarStereo(), extent, (30, 30)
      )
  
      # Check for 2 results in this case.
      assert len(images) == 2
      im1, im2 = images
      # Check image arrays is as expected (more or less).
      assert np.array(im1.image).shape == (42, 42, 4)
      assert np.array(im2.image).shape == (42, 42, 4)
      # When reprojected, extent is exactly what you asked for.
      assert im1.extent == extent
      assert im2.extent == extent
  
imports: from unittest import mock
  from xml.etree.ElementTree import ParseError
  import numpy
  import pytest
  import cartopy.crs
  from cartopy.tests.conftest import _HAS_PYKDTREE_OR_SCIPY
  import cartopy.io.ogc_clients
  from cartopy.io.ogc_clients import _OWSLIB_AVAILABLE
label_desc: Use image node_id 8 for calling the TestWMTSRasterSource obj's underlying member method code with example usage: obj.test_fetch_img_reprojected_twoparts() without return types