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); }
public Output1 Handle(Incoming input) { return(new Output1 { Id = input.Id }); }