'use strict';

var SwellRTConfig = {
  swellrtServerDomain: 'local.net'
};

var SwellRT = {
  on:           function() {},
  events:       {},
  createModel:  function() {},
  query:        function() {},
  ready:        function(cb) { cb(); },
  recoverPassword: function() {},
  createUser: function() {},
  setPassword:  function() {},
  startSession: function() {},
  user: {
    ANONYMOUS: '_anonymous_'
  }
};

var __session = {
  domain: 'local.net'
};

function SwellRTModel() {
  return {
    root: {
      type: function() { return 'MapType'; },
      keySet: function() { return []; },
      registerEventHandler: function() {}
    },
    addParticipant: function() {},
    createList:     function() {},
    createMap:      function() {},
    createString:   function() {},
    createText:     function() {}
  };
}

@@ -363,16 +363,47 @@
 n() %7B%7D,%0A
+  stopSession:  function() %7B%7D,%0A
   user: 

Add missing mock