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_xml-stylesheet.rb
    path of file: ./repos/truffleruby/lib/gems/gems/rss-0.2.9/test
    
    the code of the file until where you have to start completion: # frozen_string_literal: false
require "rexml/document"

require_relative "rs
    
    def test_bad_alternate
      %w(a ___ ??? BAD_ALTERNATE).each do |value|
        xss = XMLStyleSheet.new
        assert_raise(NotAvailableValueError) do
          xss.alternate = value
        end
        xss.do_validate = false
        assert_nothing_raised do
          xss.alternate = value
        end
        assert_nil(xss.alternate)
      end
    end