class Dynflow::Testing::DummyPlannedAction

Attributes

output[RW]
plan_input[RW]

Public Class Methods

new(klass) click to toggle source
# File lib/dynflow/testing/dummy_planned_action.rb, line 8
def initialize(klass)
  mimic! klass
  @output = ExecutionPlan::OutputReference.new(
      Testing.get_id.to_s, Testing.get_id, Testing.get_id)
end

Public Instance Methods

execute(execution_plan, event, from_subscription, *args) click to toggle source
# File lib/dynflow/testing/dummy_planned_action.rb, line 14
def execute(execution_plan, event, from_subscription, *args)
  @plan_input = args
  self
end
run_step_id() click to toggle source
# File lib/dynflow/testing/dummy_planned_action.rb, line 19
def run_step_id
  @run_step_id ||= Testing.get_id
end