code: def test_close(self):
      mb = self.mb
      mb.top.destroy = Func()
      mb.node.destroy = Func()
      mb.close()
      self.assertTrue(mb.top.destroy.called)
      self.assertTrue(mb.node.destroy.called)
      del mb.top.destroy, mb.node.destroy
  
imports: from idlelib import browser
  from test.support import requires
  import unittest
  from unittest import mock
  from idlelib.idle_test.mock_idle import Func
  from idlelib.util import py_extensions
  from collections import deque
  import os.path
  import pyclbr
  from tkinter import Tk
  from idlelib.tree import TreeNode
label_desc: Use image node_id 6 for calling the ModuleBrowserTest obj's underlying member method code with example usage: obj.test_close() without return types