docstr: Check that geometry is mapped onto a given folium.Map
docstr_tok: ["Check","that","geometry","is","mapped","onto","a","given","folium.Map"]
code: def test_given_m(self):
      "Check that geometry is mapped onto a given folium.Map"
      m = folium.Map()
      self.nybb.explore(m=m, tooltip=False, highlight=False)
  
      out_str = self._fetch_map_string(m)
  
      assert out_str.count("BoroCode") == 5
      # should not change map settings
      assert m.options["zoom"] == 1
  
imports: import geopandas
  import numpy
  import pandas
  import pytest
  import shapely
  from packaging.version import Version
  from matplotlib import cm
  from matplotlib import colors
  from branca.colormap import StepColormap
label_desc: Use image node_id 32 for calling the TestExplore obj's underlying member method code with example usage: obj.test_given_m() without return types