public object Handle(TriggerMessage message, IDocumentSession session, IMessageContext context)
        {
            var response = new CascadedMessage
            {
                Name = message.Name
            };

            return(new RespondToSender(response));
        }
        public async Task send_end_to_end_and_back_with_cascading_message()
        {
            var trigger = new TriggerMessage {
                Name = "Ronald"
            };

            var waiter = theTracker.WaitFor <CascadedMessage>();

            await theSender.Messaging.Send(trigger);

            waiter.Wait(10.Seconds());

            waiter.Result.ShouldNotBeNull();
            waiter.Result.Message.ShouldBeOfType <CascadedMessage>()
            .Name.ShouldBe("Ronald");
        }