def METHOD_NAME(self):
    plugin1 = PluginStub('plugin1', True)
    plugin2 = PluginStub('plugin2', False)
    plugin3 = PluginStub('plugin3', True)
    setting = PluginsSetting('name', plugins=[plugin1, plugin2, plugin3])
    self.assertEqual(set(setting.get_enabled()), set(['plugin1', 'plugin3']))