 
       fs.makeTreeSync(alpha2DirPath)
 
+      fs.symlinkSync(alphaDirPath, symlinkToAlphaDirPath, 'junction')
+
       atom.project.setPaths([rootDirPath])
+      atom.notifications.clear()
 
     describe "when dragging a FileView onto a DirectoryView's header", ->
       it "should add the selected class to the DirectoryView", ->


      beforeEach ->
        LocalStorage.clear()

      describe "when attempting to paste a directory into itself", ->
        beforeEach ->
          atom.notifications.clear()

        operations =
          "copy": "copied"
          "cut": "cut"

        for operation, text of operations
          describe "when #{text}", ->
            it "shows a warning notification and does not paste", ->
              # /dir-1/ -> /dir-1/
              LocalStorage["tree-view:#{operation}Path"] = JSON.stringify([dirPath])
              newPath = path.join(dirPath, path.basename(dirPath))
              dirView.dispatchEvent(new MouseEvent('click', {bubbles: true, detail: 1}))
              expect(-> atom.commands.dispatch(treeView.element, "tree-view:paste")).not.toThrow()
              expect(fs.existsSync(newPath)).toBe false
              expect(atom.notifications.getNotifications()[0].getMessage()).toContain 'Cannot paste a folder into itself'
              atom.notifications.clear()

              nestedPath = path.join(dirPath, 'nested')
              fs.makeTreeSync(nestedPath)

              # /dir-1/ -> /dir-1/nested
              LocalStorage["tree-view:#{operation}Path"] = JSON.stringify([dirPath])
              newPath = path.join(nestedPath, path.basename(dirPath))
              dirView.expand()
              nestedView = dirView.querySelector('.directory')
              nestedView.dispatchEvent(new MouseEvent('click', {bubbles: true, detail: 1}))
              expect(-> atom.commands.dispatch(treeView.element, "tree-view:paste")).not.toThrow()
              expect(fs.existsSync(newPath)).toBe false
              expect(atom.notifications.getNotifications()[0].getMessage()).toContain 'Cannot paste a folder into itself'
              atom.notifications.clear()
              dirView.collapse()

              # /dir-1/ -> /dir-2/
              LocalStorage["tree-view:#{operation}Path"] = JSON.stringify([dirPath])
              newPath = path.join(dirPath2, path.basename(dirPath))
              dirView2.dispatchEvent(new MouseEvent('click', {bubbles: true, detail: 1}))
              expect(-> atom.commands.dispatch(treeView.element, "tree-view:paste")).not.toThrow()
              expect(fs.existsSync(newPath)).toBe true
              expect(atom.notifications.getNotifications()[0]).toBeUndefined()

      describe "when pasting entries which don't exist anymore", ->
        it "skips the entry which doesn't exist", ->


      alpha2DirPath = path.join(rootDirPath, "alpha2")

      symlinkToAlphaDirPath = path.join(rootDirPath, "symalpha")

      fs.writeFileSync(alphaFilePath, "doesn't matter")
      fs.writeFileSync(zetaFilePath, "doesn't matter")

