public void registers_a_CurrentChain_service_for_diagnostic_purposes()
        {
            var chain   = new HandlerChain();
            var context = new FubuTransportation.Runtime.Invocation.InvocationContext(ObjectMother.EnvelopeWithMessage(), chain);

            context.Get <ICurrentChain>().Current.ShouldBeTheSameAs(chain);
        }
        public void registers_a_CurrentChain_service_for_diagnostic_purposes()
        {
            var chain = new HandlerChain();
            var context = new FubuTransportation.Runtime.Invocation.InvocationContext(ObjectMother.EnvelopeWithMessage(), chain);

            context.Get<ICurrentChain>().Current.ShouldBeTheSameAs(chain);
        }
 public void should_set_an_IFubuRequest_with_the_message_set()
 {
     theArgs.Get <IFubuRequest>().Get <Message2>()
     .ShouldBeTheSameAs(theEnvelope.Message);
 }