You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: machine_with_event_matchers_test.rb
    path of file: ./repos/state_machines/test/unit/machine
    
    the code of the file until where you have to start completion: require 'test_helper'

class MachineWithEventMatchersTest < StateMachinesTest
  def setup
    @klass = Class.new
    @machine = StateMachines::Machine.new(@klass)

    
  def test_should_eval_context_for_matching_events
    contexts_run = []
    @machine.event(StateMachines::BlacklistMatcher.new([:park])) { contexts_run << name }

    @machine.event :park
    assert_equal [], contexts_run

    @machine.event :ignite
    assert_equal [:ignite], contexts_run

    @machine.event :shift_up, :shift_down
    assert_equal [:ignite, :shift_up, :shift_down], contexts_run
  end