def METHOD_NAME(puppet: Puppet):
    payload = MagicMock()
    payload_name = "PayloadOne"
    puppet.load_plugin(AgentPluginType.PAYLOAD, payload_name, payload)
    puppet.run_payload(payload_name, {}, threading.Event())
    payload.run.assert_called_once()