code: def test_for_json_encodes_object_nested_in_dict(self):
      self.assertRoundTrip(
          {"hooray": ForJson()}, {"hooray": ForJson().for_json()}
      )
  
imports: import unittest
  import simplejson
label_desc: Use image node_id 3 for calling the TestForJson obj's underlying member method code with example usage: obj.test_for_json_encodes_object_nested_in_dict() without return types