def METHOD_NAME(self):
    plugin = Plugin("my-filename", "my-name",
      "<render_engine>ogre2</render_engine>")
    plugin2 = Plugin(plugin)
    plugin3 = Plugin()
    self.assertEqual(plugin, plugin2)
    self.assertNotEqual(plugin, plugin3)
    self.assertNotEqual(plugin2, plugin3)
    # Test contents
    plugin2.clear_contents()
    self.assertNotEqual(plugin, plugin2)
    plugin.clear_contents()
    self.assertEqual(plugin, plugin2)
    # test name
    plugin2.set_name("new-name")
    self.assertNotEqual(plugin, plugin2)
    plugin.set_name("new-name")
    self.assertEqual(plugin, plugin2)
    # test filename
    plugin2.set_filename("new-filename")
    self.assertNotEqual(plugin, plugin2)
    plugin.set_filename("new-filename")
    self.assertEqual(plugin, plugin2)