   send: (envelope, strings...) ->
     @messages.push ['hubot', str] for str in strings
 
+  sendPrivate: (envelope, strings...) ->
+    if envelope.user.name not of @privateMessages
+      @privateMessages[envelope.user.name] = []
+    @privateMessages[envelope.user.name].push ['hubot', str] for str in strings
+
 class Helper
   constructor: (scriptsPath) ->
     @scriptsPath = Path.resolve(Path.dirname(module.parent.filename), scriptsPath)

Path  = require('path')
Hubot = require('hubot')

class MockRobot extends Hubot.Robot
  constructor: (httpd=true) ->
    super null, null, httpd, 'hubot'

  loadAdapter: ->
    @adapter = new Room(@)

class Room extends Hubot.Adapter
  constructor: (@robot) ->
    @messages = []

    @privateMessages = {}

    @user =
      say: (userName, message) =>
