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_existing_machines_with_same_attributes_on_owner_class_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 MachineWithExistingMachinesWithSameAttributesOnOwnerClassTest < StateMachinesTest
  def
    
  def test_should_allow_transitions_on_both_machines
    @machine.event :ignite do
      transition parked: :idling
    end

    @second_machine.event :park do
      transition idling: :parked
    end

    @object.ignite
    assert_equal 'idling', @object.state

    @object.park
    assert_equal 'parked', @object.state
  end