# File test/test_control.rb, line 831
    def test_document_setup
      @properties['documents'] = [
        { 'document' => 'Page',
          'arguments' => [
            "Hello world.\n",
            'text/html'
          ],
          'mount_path' => '/hello',
          'mount_mask' => nil,
          'virtual_host' => nil
        },
        { 'document' => 'LocalFile',
          'arguments' => [
            '/home/alice/public_html',
            nil
          ],
          'mount_path' => '/~alice',
          'mount_mask' => nil,
          'virtual_host' => 'foo'
        }
      ]
      build_control
      @control.server_setup(self)
      assert_equal(2, @mount_call)
      assert_equal(1, @virtual_mount_call)
      assert_instance_of(@loader.PageDocument, @folder.find('/hello')[0])
      assert_equal('/hello', @folder.find('/hello')[1])
      assert_instance_of(@loader.LocalFileDocument, @folder.virtual_find('foo:8888', '/~alice')[0])
      assert_equal('/~alice', @folder.virtual_find('foo:8888', '/~alice')[1])
    end