コード例 #1
0
        public void NewMessagesHaveDefaultDomain()
        {
            TestMessage message = new TestMessage();

            Assert.IsNotNull(message.MessageDomain, "message.MessageDomain != null");
        }
コード例 #2
0
        public void IsDecoratorReturnsFalseForNormalMessage()
        {
            TestMessage message = new TestMessage(Array.Empty <Message>());

            Assert.IsFalse(MessageDecorator.IsDecorated(message), "MessageDecorator.IsDecorated(message)");
        }