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 9
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 16
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 21
def run_step_id
  @run_step_id ||= Testing.get_id
end