def METHOD_NAME(
    monkeypatch,
    plugin: Plugin,
    propagation_credentials_repository: IPropagationCredentialsRepository,
    target_host: TargetHost,
):
    monkeypatch.setattr(
        "agent_plugins.exploiters.wmi.src.plugin.BruteForceExploiter",
        ErrorRaisingMockWMIExploiter,
    )
    plugin = Plugin(
        plugin_name="WMI",
        agent_id=AGENT_ID,
        agent_event_publisher=MagicMock(),
        agent_binary_repository=MagicMock(),
        propagation_credentials_repository=propagation_credentials_repository,
        otp_provider=MagicMock(),
    )
    result = plugin.run(
        host=target_host,
        servers=SERVERS,
        current_depth=1,
        options={},
        interrupt=Event(),
    )
    assert not result.exploitation_success
    assert not result.propagation_success