code: def test_valid_success_response():
      foo = (
          FeatureBuilder()
          .set_query("foo")
          .set_id("bar")
          .set_name("baz")
          .set_boundary(
              Polygon(
                  [
                      Ring(
                          [
                              GeoPoint(1, 2),
                              GeoPoint(3, 4),
                              GeoPoint(5, 6),
                              GeoPoint(7, 8),
                          ]
                      )
                  ]
              )
          )
          .set_centroid(GeoPoint(9, 10))
          .set_limit(GeoRect(11, 12, 13, 14))
          .set_position(GeoRect(15, 16, 17, 18))
          .build_geocoded()
      )
  
      foofoo = (
          FeatureBuilder()
          .set_query("foofoo")
          .set_id("barbar")
          .set_name("bazbaz")
          .build_geocoded()
      )
  
      response_dict = ResponseFormatter.format(
          ResponseBuilder()
          .set_status(Status.success)
          .set_message("OK")
          .set_level(LevelKind.city)
          .set_geocoded_features([foo, foofoo])
          .build()
      )
  
      response = ResponseParser.parse(response_dict)
  
      assert isinstance(response, SuccessResponse)
      assert "OK" == response.message
      assert 2 == len(response.answers)
      assert_geocoded(foo, response.answers[0].features[0])
      assert_geocoded(foofoo, response.answers[1].features[0])
  
file_path: lets-plot/python-package/test/geo_data/gis/test_response_parser.py
imports: from assertions import assert_geocoded, assert_ambiguous
  from lets_plot.geo_data.gis.fluent_dict import FluentDict, FluentList
  from lets_plot.geo_data.gis.geometry import GeoPoint, GeoRect, Ring, Polygon
  from lets_plot.geo_data.gis.json_response import ResponseParser, ResponseField, ResponseFormatter
  from lets_plot.geo_data.gis.response import Status, ErrorResponse, LevelKind, ResponseBuilder, FeatureBuilder, SuccessResponse, Namesake, NamesakeParent, AmbiguousResponse
label_desc: Use image node_id 2 for calling a global function with example usage: test_valid_success_response() without return types