   file    = FSHelper.createFileInstance path: '/foo/bar'
   content = 'Foo bar baz waz here'
   options = { name: 'Foo Bar' }
-
-  expect.spyOn IDEView.prototype, 'updateStatusBar'
-  expect.spyOn IDEView.prototype, 'bindListeners'
-  spy = expect.spyOn IDEView.prototype, 'trimUntitledFileName'
-  expect.spyOn IDEView.prototype, 'handlePaneRemoved'
 
   clazz      = paneClass or IDEEditorPane
   ideView    = new IDEView

kd                    = require 'kd'
expect                = require 'expect'
FSFile                = require 'app/util/fs/fsfile'
FSHelper              = require 'app/util/fs/fshelper'
IDEView               = require 'ide/views/tabview/ideview'
IDEEditorPane         = require 'ide/workspace/panes/ideeditorpane'
IDETailerPane         = require 'ide/workspace/panes/idetailerpane'
IDEApplicationTabView = require 'ide/views/tabview/ideapplicationtabview'

ideView = null


createEditorPane = (paneClass) ->

      expect(ideView.handlePaneRemoved).toHaveBeenCalled()


    it 'should create tail icon if the view is an instance of an IDETailerPane', ->

      { ideView, editorPane, pane } = createEditorPane IDETailerPane
