public void Init()
        {
            service = new SimpleService();

            messageProperties = new MessageProperties();
            messageProperties.ContentType = MessageProperties.CONTENT_TYPE_TEXT_PLAIN;

            adapter = new MockMessageListenerAdapter();
            adapter.MessageConverter = new SimpleMessageConverter();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="HandlerDelegate"/> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <remarks></remarks>
 public HandlerDelegate(SimpleService service)
 {
     this.service = service;
 }