# File test/test_params.rb, line 1315
    def test_swap
      @store['documents'] = [
        { 'document' => 'Foo',
          'arguments' => [],
          'mount_path' => nil,
          'mount_mask' => nil,
          'virtual_host' => nil,
          'comment' => nil
        },
        { 'document' => 'Bar',
          'arguments' => [],
          'mount_path' => nil,
          'mount_mask' => nil,
          'virtual_host' => nil,
          'comment' => nil
        }
      ]
      @doc_list.load(self)
      assert_equal('Foo', @doc_list[0].name)
      assert_equal('Bar', @doc_list[1].name)
      @doc_list.swap(0, 1)
      assert_equal('Bar', @doc_list[0].name)
      assert_equal('Foo', @doc_list[1].name)
    end