code: def test_imshow_wrapping():
      ax = plt.axes(projection=ccrs.PlateCarree(central_longitude=0.0))
      # Set the extent outside of the current projection domain to ensure
      # it is wrapped back to the (-180, 180) extent of the projection
      ax.imshow(
          np.random.random((10, 10)),
          transform=ccrs.PlateCarree(),
          extent=(0, 360, -90, 90),
      )
  
      assert ax.get_xlim() == (-180, 180)
  
imports: import types
  import matplotlib.colors
  import matplotlib.pyplot
  import numpy
  from PIL import Image
  import pytest
  import shapely.geometry
  from cartopy import config
  import cartopy.crs
  import cartopy.io.img_tiles
  from cartopy.tests.conftest import _HAS_PYKDTREE_OR_SCIPY
  import cartopy.tests.test_img_tiles
label_desc: Use image node_id 5 for calling a global function with example usage: test_imshow_wrapping() without return types