module Cucumber::WireSupport::WireProtocol

def begin_scenario(scenario)

def begin_scenario(scenario)
  handler = Requests::BeginScenario.new(self)
  handler.execute(scenario)
end

def diff_failed

def diff_failed
  handler = Requests::DiffFailed.new(self)
  handler.execute
end

def diff_ok

def diff_ok
  handler = Requests::DiffOk.new(self)
  handler.execute
end

def end_scenario(scenario)

def end_scenario(scenario)
  handler = Requests::EndScenario.new(self)
  handler.execute(scenario)
end

def invoke(step_definition_id, args)

def invoke(step_definition_id, args)
  handler = Requests::Invoke.new(self)
  handler.execute(step_definition_id, args)
end

def snippet_text(step_keyword, step_name, multiline_arg_class_name)

def snippet_text(step_keyword, step_name, multiline_arg_class_name)
  handler = Requests::SnippetText.new(self)
  handler.execute(step_keyword, step_name, multiline_arg_class_name)
end

def step_matches(name_to_match, name_to_report)

def step_matches(name_to_match, name_to_report)
  handler = Requests::StepMatches.new(self)
  handler.execute(name_to_match, name_to_report)
end