       expect(pane).toHaveClass('active')
       pane2Model.activate()
       expect(pane).not.toHaveClass('active')
-
-    it "triggers 'pane:became-active' or 'pane:became-inactive' according to the current status", ->
-      pane.on 'pane:became-active', becameActiveHandler = jasmine.createSpy("becameActiveHandler")
-      pane.on 'pane:became-inactive', becameInactiveHandler = jasmine.createSpy("becameInactiveHandler")
-      paneModel.activate()
-
-      expect(becameActiveHandler.callCount).toBe 1
-      expect(becameInactiveHandler.callCount).toBe 0
-
-      pane2Model.activate()
-      expect(becameActiveHandler.callCount).toBe 1
-      expect(becameInactiveHandler.callCount).toBe 1
 
   describe "when the pane is focused", ->
     beforeEach ->

        expect(pane2.hasFocus()).toBe true
        pane2Model.destroy()
        expect(pane.hasFocus()).toBe true

  describe "::getNextPane()", ->
    it "returns the next pane if one exists, wrapping around from the last pane to the first", ->
      pane.activateItem(editor1)
      expect(pane.getNextPane()).toBeUndefined
      pane2 = pane.splitRight(pane.copyActiveItem())
      expect(pane.getNextPane()).toBe pane2
      expect(pane2.getNextPane()).toBe pane

  describe "when the pane's active status changes", ->
    [pane2, pane2Model] = []

    deserializerDisposable.dispose()
    jasmine.restoreDeprecationsSnapshot()

  describe "when a pane is destroyed", ->
    [pane2, pane2Model] = []

    beforeEach ->
      pane2Model = paneModel.splitRight() # Can't destroy the last pane, so we add another
      pane2 = atom.views.getView(pane2Model).__spacePenView

    describe "if the destroyed pane has focus", ->
      [paneToLeft, paneToRight] = []
