code: def test_resolve_methods():
      chart = alt.LayerChart().resolve_axis(x="shared", y="independent")
      assert chart.resolve == alt.Resolve(
          axis=alt.AxisResolveMap(x="shared", y="independent")
      )
  
      chart = alt.LayerChart().resolve_legend(
          color="shared", fill="independent"
      )
      assert chart.resolve == alt.Resolve(
          legend=alt.LegendResolveMap(
              color="shared", fill="independent"
          )
      )
  
      chart = alt.LayerChart().resolve_scale(
          x="shared", y="independent"
      )
      assert chart.resolve == alt.Resolve(
          scale=alt.ScaleResolveMap(x="shared", y="independent")
      )
  
imports: import io
  import json
  import operator
  import os
  import pathlib
  import tempfile
  import jsonschema
  import pytest
  import pandas
  import altair.vegalite.v5
label_desc: Use image node_id 19 for calling a global function with example usage: test_resolve_methods() without return types