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: test_deprecated.rb
    path of file: ./repos/truffleruby/test/mri/tests/psych
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require_relative 'helper'

module Psych
  class TestDeprecated < TestCase
    def tear
    
    def test_recursive_quick_emit_encode_with
      qeew = QuickEmitterEncodeWith.new
      hash  = { :qe => qeew }
      hash2 = Psych.unsafe_load Psych.dump hash
      qe    = hash2[:qe]

      assert_equal qeew.name, qe.name
      assert_instance_of QuickEmitterEncodeWith, qe
      assert_nil qe.value
    end