 mockChannel    = require 'app/util/generateDummyChannel'
 mockThread     = require 'app/util/generateDummyThread'
 
-mockMachine    = new Machine { machine: mockjmachine }
-{ socialapi }  = kd.singletons
+mockMachine = new Machine { machine: mockjmachine }
+{ socialapi, appManager } = kd.singletons
 
 
 module.exports =

              callback null, [ mockjaccount ]


  getMockMachine: ->   return mockMachine

  getMockJMachine: ->  return mockjmachine

kd             = require 'kd'
expect         = require 'expect'
remote         = require('app/remote').getInstance()
FSFile         = require 'app/util/fs/fsfile'
Machine        = require 'app/providers/machine'
ideRoutes      = require 'ide/routes.coffee'
dataProvider   = require 'app/userenvironmentdataprovider'
