code: def test_warning_with_legacy_auth(self):
      with warnings.catch_warnings(record=True) as w:
          Here(
              app_id="DUMMYID1234",
              app_code="DUMMYCODE1234",
          )
      assert len(w) == 1
  
imports: import warnings
  import pytest
  from geopy import exc
  from geopy.geocoders import Here, HereV7
  from geopy.point import Point
  from test.geocoders.util import BaseTestGeocoder, env
label_desc: Use image node_id 3 for calling the TestUnitHere obj's underlying member method code with example usage: obj.test_warning_with_legacy_auth() without return types