Beispiel #1
0
        public void ContainsKey_ReplyTo_when_Replyto_set_in_message_extension()
        {
            var msg     = CreateMessageWithReplyToExtension();
            var headers = new ReadOnlyMsmqMessageHeaders(msg);

            Assert.AreEqual(true, headers.ContainsKey(nameof(headers.ReplyTo)));
        }
Beispiel #2
0
        public void ContainsKey_ReplyTo_when_ResponseQueue_set_on_message()
        {
            var msg     = CreateMessageWithResponseQueue();
            var headers = new ReadOnlyMsmqMessageHeaders(msg);

            Assert.AreEqual(true, headers.ContainsKey(nameof(headers.ReplyTo)));
        }