import Ember from 'ember';
const { merge } = Ember;

export default function(server, _options = {}) {
  let options = merge({
    existingThread: true
  }, _options);

  server.create('user', {
    id: '456',
    _id: '456',
    name: 'friend',
    display_name: 'friend'
  });

  if (options.existingThread) {
    server.create('unread');
    server.create('thread');
  }
}
