def METHOD_NAME(
    mock_plugin_factories: Dict[AgentPluginType, IPluginFactory],
    plugin_registry: PluginRegistry,
):
    mock_plugin_factories[AgentPluginType.EXPLOITER].create.return_value = MagicMock(
        spec=SingleUsePlugin
    )
    plugin1 = plugin_registry.get_plugin(AgentPluginType.EXPLOITER, PLUGIN_NAME)
    plugin2 = plugin_registry.get_plugin(AgentPluginType.EXPLOITER, PLUGIN_NAME)
    assert plugin1.__class__ == plugin2.__class__
    assert plugin1.name == plugin2.name
    assert id(plugin1) != id(plugin2)