public SendAndAwaitStep(NodeConfiguration sender)
        {
            _sender = sender;

            _request = new TRequest();
        }
 public MatchingMessageStep(IOriginatingMessage message, NodeConfiguration receiver)
 {
     _message  = message;
     _receiver = receiver;
 }
 public ReplyExpression(NodeConfiguration parent)
 {
     _parent = parent;
 }
 public HandlesExpresion(NodeConfiguration parent)
 {
     parent._registry.Value.Handlers.Include <SimpleHandler <T> >();
     _parent = parent;
 }
 public SendExpression <T> MatchingMessageIsReceivedBy <TMatching>(NodeConfiguration receiver) where TMatching : Message, new()
 {
     _parent.AddStep(new MatchingMessageStep <TMatching>(_step, receiver));
     return(this);
 }
 public SendExpression <T> ShouldBeReceivedBy(NodeConfiguration node)
 {
     _step.ReceivingNodes.Add(node);
     return(this);
 }