converter = EasyMock.createMock(BeanJsonConverter.class);
sender = new UserId(UserId.Type.userId, "message.sender");
recipients = ImmutableList.of("second.recipient", "first.recipient");
handler = new MessageHandler(messageService);
registry = new DefaultHandlerRegistry(null, converter,
new HandlerExecutionListener.NoOpHandler());
registry.addHandlers(ImmutableSet.<Object>of(handler));
}