示例#1
0
        public async Task handle_a_single_cascading_message()
        {
            var input   = new Incoming();
            var context = await Execute(input);

            context.OutgoingMessages().Single()
            .ShouldBeOfType <Output1>()
            .Id.ShouldBe(input.Id);
        }
示例#2
0
 public Output1 Handle(Incoming input)
 {
     return(new Output1 {
         Id = input.Id
     });
 }