# File test/test_Error.rb, line 148
    def test_document_error
      @Error.document_error = {
        :document => 'Page',
        :arguments => [
          "Hello world.\n",
          'text/plain'
        ],
        :mount_path => '/error',
        :mount_mask => nil,
        :virtual_host => 'www2',
        :exception => RuntimeError.new('test')
      }
      assert_equal('Page', @Error.doc_name)
      assert_equal([ [ 'content', "Hello world.\n" ],
                     [ 'content-type', 'text/plain' ]
                   ], @Error.doc_args)
      assert_equal('/error', @Error.mount_path)
      assert_nil(@Error.mount_mask)
      assert_equal('www2', @Error.mount_virtual_host)
      assert_equal('RuntimeError', @Error.doc_error_type)
      assert_equal('test', @Error.doc_error_msg)
    end