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-methods.rb
    path of file: ./repos/padrino-framework/padrino/test/padrino
    
    the code of the file until where you have to start completion: require 'oga'

module Padrino
  module TestMethods
    def assert_html_has_tag(html, tag, attributes={})
      assert html.html_safe?, 'output in not #html_safe?'
      assert_has_selector(html, tag, attributes)
    end

    def 
    
    def html_matched_tags(html, selector, attributes)
      @dom ||= Oga.parse_html(html)
      content_requirement = attributes.delete(:content)
      attributes.each do |name, value|
        selector += %{[#{name}="#{value}"]}
      end
      tags = @dom.css(selector.to_s.gsub(/\[([^"']*?)=([^'"]*?)\]/, '[\1="\2"]'))
      if content_requirement
        tags = tags.select{ |tag| (tag.get('content') || tag.text).index(content_requirement) }
      end