code: def test_read_write(self):
      filename = self.get_temp_dir() + "/test_write.json"
      _EXPORTS.write(filename)
      e = exported_api.ExportedApi()
      e.read(filename)
  
      self.assertEqual(e, _EXPORTS)
  
imports: from tensorflow.python.platform import test
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 1 for calling the ExportedApiTest obj's underlying member method code with example usage: obj.test_read_write() without return types