code: def test_wms_service_instance(self):
      service = WebMapService(self.URI)
      source = ogc.WMSRasterSource(service, self.layer)
      assert source.service is service
  
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 2 for calling the TestWMSRasterSource obj's underlying member method code with example usage: obj.test_wms_service_instance() without return types