content: import React from 'react'
  import { shallow } from 'enzyme'
  import { expect } from 'chai'
  import { List } from 'immutable'
  
  import Document from '/modules/fileTree/components/Document'
  
  const OriginalDocument = Document.DecoratedComponent
  
  const docProps = {
      id: 'id',
      selected: true,
      name: 'docname',
      toggle: false,
      toggleable: false,
      files: List(),
      onToggleDocument: () => {},
      onRemoveDocument: () => {},
      onSelectDocument: () => {},
      onAppendFile: () => {},
      connectDropTarget: el => el
  }
  
  describe('Document component test suite', () => {
      it('should contain a span with document name', () => {
          const wrapper = shallow(
              <OriginalDocument {...docProps} />
          )
  
          expect(wrapper.containsMatchingElement(
              <span>
                  {docProps.name}
              </span>
          )).to.equal(true)
  
      })
  })
  