"use strict";

module.exports = function() {

  function Client() {
  }

  Client.prototype.write = function mockWrite() {
    return {};
  };

  return Client;
};

"use strict";

module.exports = function() {

  function Client() {
  }

  Client.prototype.write = function mockWrite(notification, device) {
    return { device };
  };

  return Client;
};

Improve the default mock behaviour
Improve the default mock behaviour

It previously just returned an empty object which isn't very useful.
