code: def test_method_w_multiple_attributes(self):
      glob = "dummy_value"
  
      class Foo:
          def f(self):
              return self.g.h.x.y.z
  
          def g(self):
              return glob
  
      foo = Foo()
      func_map = free_vars_detect._detect_function_free_vars(foo.f)
      self.assertLen(func_map.keys(), 2)
  
      self.assertIn("Foo.f", func_map.keys())
      free_vars = get_var_name(func_map["Foo.f"])
      self.assertSequenceEqual(free_vars, ["self.g"])
  
      self.assertIn("Foo.g", func_map.keys())
      free_vars = get_var_name(func_map["Foo.g"])
      self.assertSequenceEqual(free_vars, ["glob"])
  
imports: import functools
  import unittest
  from absl.testing import parameterized
  import numpy
  from tensorflow.core.function.capture import free_vars_detect
  from tensorflow.python.util import tf_decorator
label_desc: Use image node_id 22 for calling the FreeVarDetectionTest obj's underlying member method code with example usage: obj.test_method_w_multiple_attributes() and returns: self, glob