         _view.$.withArgs('textarea').returns textarea_stub
         textarea_stub.val.returns 'test criteria'
         expect(_facade.serialize()).toBe 'test criteria'
-
-    describe 'switch editing mode', () ->
-      it "returns an instance of a criterion builder facade", () ->
-        _builder.build_criterion_builder.withArgs('test criteria').returns 'test facade'
-        _facade.serialize = () -> 'test criteria'
-
-        expect(_facade.switch_editing_mode()).toBe 'test facade'
 
     describe 'constructor', () ->
 

      _survey = sinon.stubObject $model.Survey
      _parser_stub = null
      _builder = sinon.stubObject($slh.SkipLogicBuilder)
      _view = sinon.stubObject $slh.SkipLogicCriterionBuilderView
      _delimiter_spy =
        show: sinon.spy()
        hide: sinon.spy()


        expect(_presenter_stubs.length).toBe 1
        expect(_presenter_stubs[0].model.cid).toBe 2

  describe 'hand code helper', () ->
    _view_factory = sinon.stubObject $vRdsl.SkipLogicViewFactory
