示例#1
0
        public void BeforeSendReply_NoOp()
        {
            var     inspector = new TenantPropagationMessageInspector <string>(new StubTenantIdentificationStrategy());
            Message msg       = null;

            Assert.DoesNotThrow(() => inspector.BeforeSendReply(ref msg, null));
        }
示例#2
0
        public void AfterReceiveReply_NoOp()
        {
            var     inspector = new TenantPropagationMessageInspector <string>(new StubTenantIdentificationStrategy());
            Message msg       = null;

            // XUnit does not have "Assert.DoesNotThrow".
            inspector.AfterReceiveReply(ref msg, null);
        }
 public void BeforeSendReply_NoOp()
 {
     var inspector = new TenantPropagationMessageInspector<string>(new StubTenantIdentificationStrategy());
     Message msg = null;
     Assert.DoesNotThrow(() => inspector.BeforeSendReply(ref msg, null));
 }