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_builder.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/test/html
    
    the code of the file until where you have to start completion: require "helper"

module Nokogiri
  module HTML
    class TestBuilder < Nokogiri::TestCase
      def test_top_level_function_builds
        foo = nil
        Nokogiri() { |xml| foo = xml }
        assert_instance_of Nokogiri::HTML::Builder, foo
      end

      def test_builder_with_explicit_tags
        html_doc = Nokogiri::HTML::Builder.new {
          div.slide(:class => 'another_class') {
            node = Nokogiri::XML::Node.new("id", doc
    
      def test_builder_with_param
        doc = Nokogiri::HTML::Builder.new { |html|
          html.body {
            html.p "hello world"
          }
        }.doc

        assert node = doc.xpath('//body/p').first
        assert_equal 'hello world', node.content
      end

      def test_builder_with_id
        text = "hello world"
        doc = Nokogiri::HTML::Builder.new { |html|
          html.body {
            html.id_ text
          }
        }.doc

        assert node = doc.xpath('//body/id').first
        assert_equal text, node.content
      end
    end
  end