code: def test_record(self):
      lake_record = self.test_lake_record
      assert lake_record.attributes.get("name") == self.lake_name
      expected = sorted(
          [
              "admin",
              "featurecla",
              "min_label",
              "min_zoom",
              "name",
              "name_alt",
              "scalerank",
          ]
      )
      actual = sorted(lake_record.attributes.keys())
      assert actual == expected
      assert lake_record.geometry == self.test_lake_geometry
  
file_path: cartopy/lib/cartopy/tests/test_shapereader.py
imports: from pathlib import Path
  import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  import shapely.geometry
  import cartopy.io.shapereader
label_desc: Use image node_id 3 for calling the TestLakes obj's underlying member method code with example usage: obj.test_record() without return types