code: def testResolveFunctionAfterRef(self):
      config = {
          "param1": "ok",
          "param2": tune.choice([Dummy("ok"), "not ok"]),
          "param3": {
              "param4": tune.sample_from(
                  lambda config: config["param2"]
              ),
          },
      }
  
      replaced = create_resolvers_map()
      config = inject_placeholders(config, replaced)
  
      # Manually resolve param2.
      config["param2"] = (_RefResolver.TOKEN, "60238385")
  
      resolve_placeholders(config, replaced)
  
      # param3.param4 should get the same value as resolved param2.
      self.assertEqual(config["param3"]["param4"].value, "ok")
  
imports: import numpy
  import unittest
  from ray import tune
  from ray.tune.impl.placeholder import inject_placeholders, resolve_placeholders, create_resolvers_map, _FunctionResolver, _RefResolver
  from ray.tune.search.sample import Float, Integer
label_desc: Use image node_id 14 for calling the PlaceholderTest obj's underlying member method code with example usage: obj.testResolveFunctionAfterRef() without return types