def METHOD_NAME(self, mock_get_solo):
    mock_get_solo.return_value = GlobalConfiguration(
        plugin_configuration={
            "test": {
                "plugin1": {"enabled": False},
                "plugin2": {"enabled": True},
            },
        }
    )
    plugins = [x for x in register1.iter_enabled_plugins()]
    self.assertEqual(len(plugins), 1)
    self.assertEqual(plugins[0].identifier, "plugin2")